Which answer best describes the behavior of the following code?

mystery = input("Enter something: ")
while len(mystery) < 5:
mystery = input("Enter something: ")
print("Success")
Responses

The code will keep prompting the user for input until the user enters a string with 5 or more characters
The code will keep prompting the user for input until the user enters a string with 5 or more characters

The code will be stuck in an infinite loop, prompting the user for a new entry with no way out
The code will be stuck in an infinite loop, prompting the user for a new entry with no way out

The code will ask the user once for a string and print a success message if it is less than 5 characters long
The code will ask the user once for a string and print a success message if it is less than 5 characters long

The code will print "Success" when the user enters a secret password

1 answer

The code will keep prompting the user for input until the user enters a string with 5 or more characters.
Similar Questions
    1. answers icon 1 answer
    1. answers icon 1 answer
  1. Multiple ChoiceWhat does a code of conduct include? A. a secret code for Internet users B. the conduct that should be used with
    1. answers icon 7 answers
  2. What does a code of conduct include?(1 point) A a secret code for Internet users B the conduct that should be used with the code
    1. answers icon 1 answer
more similar questions