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 check if the entered string is pangram or not using function.