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
len()
Using while loop
a = 'string' count = 0 while True: try: if a[count]: count += 1 except IndexError as e: break print(count)