following way to find length of string
x = input("Enter a string:")
counter = 0 # count the character in string
for s in x:
counter = counter+1
print("Length of the input string is:", counter)
output
Enter a string: rajesh
Length of the input string is:6
i want to say somethings string is very important in python so if you know more about python and string concept in python than you can join