Write a program to print number of characters in a string


Topic: Write a program to print number of characters in a string

Solution

str1 = 'It is a glorious day'
res = len(str1) 
print("The number of characters in string are : ", str(res)) 



List all Python Programs