Question: Write a loop to populate the list user_guesses with a number of guesses. Each guess is an integer. Read integers using int(input()). Sample output with
Write a loop to populate the list user_guesses with a number of guesses. Each guess is an integer. Read integers using int(input()).
Sample output with inputs: 3 9 5 2
user_guesses: [9, 5, 2]
Whats the solution answer?

Write a loop to populate the list user_guesses with a number of guesses. Each guess is an integer. Read integers using int(input(). Sample output with inputs: 3 952 user_guesses: [9, 5, 2] WNA 1 num_guesses = int(input() user_guesses = [] 4 " Your solution goes here ! 6 print('user_guesses:', user_guesses)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
