Write a python program to find the length of string entered by the user and find its square
Share
Write a python program to find the length of string entered by the user and find its square
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
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