Answer:
num_of_guesses = int(input())
user_guesses = []
for n in range(num_of_guesses) :
guess_value = int(input())
user_guesses.append(guess_value)
print("User guesses :", user_guesses)
Step-by-step explanation:
Using python
Line 1 prompts the user to input the number of guesses he / she will like to make.
Line 2, initiates an empty list which will be used to store the numbers which will be guessed.
The for loop which uses the condition stated in line 1, that is, the user will only be able to make guesses based on the value enters into num_of_guesses
guess_value prompts user to enter a value which is added to the user_guesses list
The print statement, lists the numbers guessed by the user.