Question: Hello I am having some trouble having this python code retrieve the length of the phrases of a sentence input by the user. Part C

Hello I am having some trouble having this python code retrieve the length of the phrases of a sentence input by the user. Part C

  1. Use an iteration structure to repeat the following steps until an input phrase of at least 10 characters has been provided:
    1. Use the input function to prompt the user for a phrase and store the phrase as a variable.
    2. Mirror the phrase to the user that is, print the stored variable contents to the console with a message.
    3. Retrieve the length of the phrase/variable.
    4. If the length is less than 10:

i. Issue a message (to the console) letting the user know that they must enter a new phrase of at least 10 characters.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!