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:

About CSE
Sora Blogging Tips is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of sora blogging tips is to provide the best quality blogger templates.

No comments:
Post a Comment