# User inputs the string and it gets stored in variable str
str = input("Enter a string: ")

# count variable to count the character in a string
count = 0
for s in str:
    count = count+1
print("Length of the input string is:", count)
