Computer Science, asked by neesan193, 9 hours ago

Write a python program that prompts the user to enter a string. The program calculates and displays the length of the string until the user enters "QUIT". (Hint: Use a while loop)​

Answers

Answered by ujjwal99355
3

Answer:

string=str(input('Enter Any strintg of your choice:  '))

while string!='QUIT':

   print('Length of string is:',len(string))

   string=str(input('Enter Any strintg of your choice:  '))

Output:

Attachments:
Similar questions