Can anyone tell me how can I get the length of a string without using the len() function or any string methods. Please anyone tell me as I\'m tapping my head ma
def length(object):#Define the length calculation function
count = 0 #initializing the length to be equal to zero
object = input() #enter the argument
for i in object:
count=count+1
print("Length of the string is"+str(count))
length(object)