Python program that compute length of given string or list.

#Python program that compute length of given string or list.

string=input("Enter string or list to compute length.")

print("Length of entered string or list is:",len(string))

Comments

Popular posts from this blog

Python program to calculate age and year when user will be 100 years old

Python program to print numbers less than 5 from the list.