#HOW TO WHICH STRING IS LARGEST BETWEEN TWO STRINGS
#clcoding
str1 = 'Clcoding'
str2 = 'ClcodingPython'
max(str1,str2)
#HOW TO WHICH STRING IS LARGEST BETWEEN TWO STRINGS
#clcoding
str1 = 'Clcoding'
str2 = 'ClcodingPython'
if str1>str2:
print(str1,'is the largest string')
else:
print(str2,'is the largest string')
0 Comments:
Post a Comment