1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tino4ka555 [31]
3 years ago
8

Write a loop to populate the list user_guesses with a number of guesses. Each guess is an integer. Read integers using int(input

()).
Computers and Technology
1 answer:
antoniya [11.8K]3 years ago
6 0

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)

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.

You might be interested in
Practising some questions for board exams for class 12 python,pls help with detailed answer
poizon [28]
I do t know the answer to this but i think tou can firger it iut food luck
3 0
3 years ago
Who was the creator of the game Fnaf?
Lisa [10]
"Scott Cawthon" did that.........
8 0
3 years ago
Read 2 more answers
Becky is preparing a document for her environmental studies project. She wants to check her document for spelling and grammar er
Sunny_sXe [5.5K]
If it's MS Word (it probably is), then it's Alt + F7
7 0
3 years ago
Read 2 more answers
What term is used to describe an individual's money and personal property? budget income assets finances
Ilya [14]

Answer:

Pretty sure it's assests.

Explanation:

Income - Intake of money.

Budget - How much money you can spend.

Finances - Things you need to pay ort fund.

3 0
3 years ago
Read 2 more answers
________ is the information about a file.
GalinKa [24]
Properties is the information about the file
4 0
3 years ago
Other questions:
  • Can you block someone on Brainly?
    7·2 answers
  • What is the purpose of ergonomics in the workplace? A.Keep workers safe and injury free
    5·2 answers
  • 14<br> Select the correct answer.<br> Which activity is a marketing technique?
    9·1 answer
  • Windows 1.0 was not considered to be a "true" operating system but rather an operating environment because _____.
    13·1 answer
  • Which line of code will print I can code on the screen?
    13·1 answer
  • Write a Student class in Java which has a name, id_number, year (e.g. 2) and
    9·1 answer
  • Steve left his computer switched on in his room and went out to have breakfast. When he returned, he saw that the monitor had be
    9·1 answer
  • What is theory of knowledge?​
    13·1 answer
  • Full form of NCP?............
    5·2 answers
  • How does communication produce clarity and direction​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!