Write a python program to find the length of string entered by the user and find its square
Answers
Answered by
2
Answer:
Please mark my answer as the brainliest, it would mean a lot
print("Enter the String: ")
text = input()
length= 0
for ch in text:
length= length+1
print("Length =", length)
Please mark my answer as the brainliest, it would mean a lot
Similar questions