Write a python program to find the length of the string without using any library functions.

 def find_length(input_string):

    count = 0

    for char in input_string:

        count += 1

    return count


# Example usage

text = "Hello, India!"

length = find_length(text)


print("The length of the string is:", length)

Output:


Comments