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
Who want to play quzzies the code is 124 3142
konstantin123 [22]

Answer:

22

Explanation:

11+11=22

7 0
2 years ago
Assume the existence of a class named window with functions named close and freeresources, both of which accept no parameters an
denis-greek [22]
In your question whereas there is a class named window and it would be like this:

class window {
//code here 
}

Next is there is a function called close and freeresource and it goes like this:

class window{
  function close( ){
   //code here
  }
  function freeresource( ){
  // code here
  }
 public destruct (){
this.close();
this.freeresource();
}

}
The last code function destruct invokes the function close and freeresource. Hope this would help 

7 0
3 years ago
Choose an ethical person you admire. This could be someone you know (such as a parent, friend, or teacher) or someone you don’t
Andrews [41]
HEY THERE!!

I will chose my sister though we have not blood relation but then she is my ideal . i love her so much and i respect her a lot , much more then a real sister . She is everything to me. She guides me in my study amd after meeting her i am completely changed.

I m an INDIAN and she is an Pakistani i met up with her in brainky amd now i don't wanna loss her ever.

Love you sis .
8 0
3 years ago
What department is cyber security
Paul [167]

Answer:

United States Department of Homeland Security

The National Cyber Security Division (NCSD) is a division of the Office of Cyber Security & Communications, within the United States Department of Homeland Security's Cybersecurity and Infrastructure Security Agency.

<em>Give</em><em> </em><em>me</em><em> </em><em>brainliest</em><em> </em>

8 0
3 years ago
Read 2 more answers
What is the purpose of a email
jasenka [17]

Answer:

An email is a digital message sent electronically from one computer to one or more other computers. Emails are flexible and can be used for giving instructions, serving as documentation, providing confirmation, communicating rules and procedures, making recommendations, providing a status update, making an inquiry.

7 0
4 years ago
Read 2 more answers
Other questions:
  • What are the two houses in Congress?
    5·1 answer
  • Given that two int variables, total and amount, have been declared, write a sequence of statements that: initializes total to 0
    14·1 answer
  • What are the three parts of a Function
    12·1 answer
  • Jacob would like to include an arrow in his newsletter to point to some important information. He should _____.
    14·2 answers
  • Define some everyday if else statements you use to determine action. What are the branches of your statement?
    12·1 answer
  • Factor f(x)=x^3-6x^2+9x
    12·1 answer
  • Please find one organization that has recently adopted virtualization and summarize their reasons for taking this approach. What
    12·1 answer
  • In excel online what is it called when you join connecting cells together to span across more than one column and/or row?
    7·2 answers
  • Select the statement which most accurately describes the benefits and drawbacks of working from home and telecommuting.
    13·2 answers
  • Which computers were the first PCs with a GUI<br> MS-DOS <br> Linux<br> Windows<br> Mac
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!