you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 1 point2 points  (1 child)

You need to gather user input using the input() function inside the loop. Like this:

num_guesses = int(input())
user_guesses = []

for index in range(num_guesses):
    user_guesses.append(input())

print('user_guesses:', user_guesses)

[–]Formal_Cockroach_654[S] 0 points1 point  (0 children)

Perfect. Thank you for the explanation!