Computer Science, asked by muskaanjindal976, 4 months ago


Give the output that will be produced on execution of follow
segment;
s1 'Have a good day'
print(sl. upper() )
print (sl.title())
print (s1.isdigit())
print (sl.isalpha ())
print (sl.count('a'))​

Answers

Answered by allysia
9

Correction:

Let me correct this code a bit:

_______________________

sl= 'Have a good day'

print(sl. upper() )

print (sl.title())

print (s1.isdigit())

print (sl.isalpha ())

print (sl.count('a'))​

_______________________

Answer:

The output should be:

_______________________

HAVE A GOOD DAY

Have A Good Day

False

False

3

________________________

Similar questions