You are planning to write a guessing game program where the user will guess an integer between one and 20. Put the commented steps in the correct order.

The user will keep guessing until correct.

1. First ___ # Compare the user's answer to the correct number.
2. Second __# Give the user a hint as to whether their guess is too high or too low.
3. Third ___# Ask the user for a guess.
4. Fourth ___ # Generate a random number
(worth 90 points, need answer asap)

Answers

Answer 1

Answer:

1. Generate a random number

2. Ask the user for a guess.

3. Compare the user's answer to the correct number.

4. Give the user a hint as to whether their guess is too high or too

Explanation:

Leave a like and brainist if this helped

Answer 2

Answer:

First step >> Generate a random number

Second step >> Ask the user for a guess.

Third step >> Compare the user's answer to the correct number.

Fourth step >> Give the user a hint as to whether their guess is too high or too


Related Questions

What is the use of comma and semicolon with print statement ?​

Answers

Answer:

The use of a comma and semicolon with print statement tells the computer that the program or specific line is ending.

Explanation:

So for example, with a python program if you write print("Hello, World"); the semicolon tells the computer that, that command ends at the semicolon.

Madeleine's Instructor praised her for capturing a nearly perfect image. It included dominance, harmony, and proportion among other
principles. Which design principle involves all aspects of delign?
The_____________
design principle involves all aspects of design

Answers

Answer:

Unity design principle

Explanation:

9.4 Code Practice: Your task is to determine whether each item in the array above is divisible

by 3 or not. If an item is divisible by 3, then leave that value as-is in the

array, but if it is not divisible by 3, then replace that value in the array with a

o. Remember that you will need to use modular division from Unit 2 to

determine if a value is divisible by 3. Finally, print out the array in the

format as seen in the sample run below.

(Can someone please help me?)

Answers

Answer:

Explanation:

The following Python code is a function that takes in an array as a parameter, it then loops through the array determining if the element is divisible by 3. If it is it leaves it alone, otherwise it changes it to a 0. Then ouputs the array. A test case is shown in the attached image below using a sample array.

def divisible_by_three(array):

   for x in array:

       if x % 3 == 0:

           pass

       else:

           array[array.index(x)] = 0

   return array

In this exercise we have to use the knowledge of computational language in python to describe the code, like this:

We can find the code in the attached image.

What is an array for?

After wondering what an array is, you might wonder what it's for. The main purpose is to store information in an orderly way, that is, for each line, one piece of information. An example of an array is when storing names of people present in a classroom.

The code can be written more simply as:

def divisible_by_three(array):

  for x in array:

      if x % 3 == 0:

          pass

      else:

          array[array.index(x)] = 0

  return array

See more about python at brainly.com/question/26104476

Lucia is using the American Psychological Association (APA) style guidelines to writer her research paper. What is her most likely topic?
physical sciences
literature
social sciences
biology
ANSWER IS SOCIAL SCIENCES

Answers

Answer:

its C

Explanation:

According to the above scenario, Lucia's subject in the research paper is social sciences. Thus, option second is correct.

What is a research paper?

A research paper is a longer essay in which you give your own interpretation, opinion, or argument. When writing an essay, you apply all you know and have pondered about a subject.

The purpose of a research paper is to draw on what others have said about a topic and engage the sources in order to intelligently present a distinct viewpoint on the problem at hand, not just inform the reader what others have said about a topic.

The examination of how humans communicate with one another is known as social science. Anthropology, economics, political science, psychology, and sociology are all fields of social science.

According to the given circumstance, Lucia's research paper topic is social sciences. As a result, option two is correct.

Learn more about research paper here:

https://brainly.com/question/946785

#SPJ2

What pc games do you all play?

Answers

Answer:

none

Explanation:

Answer:

Among us

Explanation:

What role does the animation in the motion picture industry or video industry play?

Answers

Answer:

there’s a lot of animation in the video marketplace. All the industries you cite are part of the bigger motion picture/video production industries. Animation plays a vital role across the board for too many reasons to list. Without knowing what your definition of animation is, it’s hard to write about what you are asking. That said, the industries you’re listing are all part of the same industry. If you watch news, you see animations all the time. Backgrounds, lower third supers that move…that’s all animation. Even in theatrical movies, it’s all over…you may not recognize it as animation, but it surely is. Not all animation needs to look like Looney Tunes, even if that would be nice.

what are the functions of file​

Answers

File is an object on a computer that stores data, information, settings, or commands used with a computer program. In a GUI such as Microsoft Windows, files display as icons that relate to the program that opens the file.

Answer:

file is an object on a computer that saves data information and any thing

PLS ANSWER I Forgot how to do this. I'll give brainliest.
Write pseudocode for getting a bowl of cereal using at least four steps.

Answers

Answer:

Step 1: Get out a bowl

Step 2: Get out a spoon.

Step 3: Get out cereal.

Step 4: Get out milk.

Step 5: Put the milk and cereal in the bowl and enjoy

Explanation:

Which of the following is a correctly named cell?
B8
BB-8
8-B
8B

Answers

Answer:

8-B???

Explanation:

The Cell "B8" is the correct mode of depicting the spreadsheet cell.

Let understand that Spreadsheet like Ms Excel, G.oogle Spreadsheet can be be user friendly not operated with the use of Cells Rows and Columns.

The Cell Row refers to the straight boxes from the Left to Right while the Cell Column refers to straight boxes from Up to down on the Interface

Each Row and Column have a name & number attached to it. For instance, each Row have its number and each Column have its Alphabet.

In conclusion, the correct named cell out of the options is Option A which is B8 (Row B & Column 8).

Read more on this here

brainly.com/question/12961162

I'll appreciate some help pls​

Answers

Answer:

i dont know....

Explanation:

Click this link to view O*NET's Work Activities section for Actors. Note that common activities are listed toward the top, and less common activities are listed toward the bottom. According to O*NET, what are common work activities performed by Actors? Check all that apply. repairing and maintaining electronic equipment performing administrative activities thinking creatively controlling machines and processes performing for or working directly with the public establishing and maintaining interpersonal relationships​

Answers

Based on  O*NET, the common work activities performed by Actors are:

Scheduling work and activities. Getting information. Making decisions and solving problems. Coordinating the work and activities of others.

What is activity in the workplace?

An activity in the workplace is one that connote the way to promote strong work relationships and boast morale.

Note that Getting all actors to be involved in a team workplace activity is one that help develop a kind of personal bonds and also enhance the professional relationship of all actors.

Learn more about  Work Activities from

https://brainly.com/question/25530656

Ask the user to enter a sentence. If the sentence has any mention of dog, tell the user (once) Dogs are cute. If the sentence has any mention of taco, tell the user (once) Tacos are tasty. Change each mention of dog to puppy. Change each mention of taco to burrito. Print the new sentence. Capitalization matters! For example, if theres a mention of Dog (note where the capital letter is), it should be changed to Puppy (note where the capital letter is). You will only need to look for mentions of dog, Dog, taco, and Taco. The plural forms are allowed but the final output for dog / Dog will not be grammatically correct, and this is ok. See sample output.

Answers

Answer:

Theses puppies are so cute!

Theses burritos are so yummy!

Would you like a taste of this delicious taco dog?

Explanation:

there you go plz may i have a brainilist??

In what way are high-level programming languages limited? (5 points)
a
They are less readable by humans because they are written in the computer's native machine code.
b
They are written for specific computers and will only work on that one type of computer.
с
They give more control over the hardware and execute tasks more quickly.
O
d
They must be translated into machine code by interpreting and compiling.

Answers

Answer:

low-level language is a type of programming language that contains basic instructions recognized by a computer. Unlike high-level languages used by software developers, low-level code is often cryptic and not human-readable. Two common types of low-level programming languages are assembly language and machine language.

Explanation:

High level-level programming language is limited in that They must be translated into machine code by interpreting and compiling.

What is a High-level programming Langauge?

High-Level Programming Langauge is a language that is written in human-readable form, in other words, they include normal human statements which makes it easy for programmers to understand.

For High-level programming Langauge to work effectively, a compiler is needed to transform these statements into machine codes.

Learn more about High-level programming Langauge here:

https://brainly.com/question/22695199

#SPJ2

Put the parts of the program in order to have the output shown below.
16

1. First part
2.second part
3. Third part

answer = multiply(8,2)

def multiply(numA, numB):
return numA* numB

print (answer)

Answers

i have no idea how to get this answer, but here.

edge 2021

First part

answer = multiply(8, 2)

Second part

def multiply(numA, numB):

      return numA * numB

Third part

print(answer)

16

How to model a programming process

In the field of programming, functions are a set of code lines that represents a process. Processes involve inputs, steps and outputs. Hence, we can runs a function by the following procedure:

Create a variable.Associate a function with given inputs to the variable.Run the function.Return the output.Print the output.

Now we proceed to present the procedure:

First part

answer = multiply(8, 2)

Second part

def multiply(numA, numB):

      return numA * numB

Third part

print(answer)

16

To learn more on programming, we kindly invite to check this: https://brainly.com/question/11023419 #SPJ2

Select all of the true statements about navigating the Internet.
Enter a URL and press Enter to visit a new Web page.
Refresh your browser anytime you want the computer to remember a URL.
You cannot reset your home page.
Use tabs at the top of the browser window to move between several pages that you have opened.
Click on the x in the upper right corner to close the browser window.
m Press the arrow that points to the right to go to the last Web page that you visited

Answers

Answer:

1, 4, and 5

Explanation:

2 is false because refreshing your browser doesn't mean that the url is memorized, it means that something is wrong or something isn't working, and you can try reloading that tab again.

3 is false because you can reset your home page.

6 is false because going to the right isn't going to a previous page you visited, it goes back to present tabs. Think of the left arrow as going to the past, and the right as going back to the present.

i u were to make 1 new animal in the world what would it be? (it can be cross breed)

Answers

Answer:

lizard bird

Explanation:

Explain why the program did not print "clap", and how to fix it.
#takes number of fingers and recommends a thoughtful response
fingers = 10
if fingers >= 2:
print("whistle")
elif fingers >= 4:
print("snap")
elif fingers >= 10:
print("clap")
else:
input("are you human?")

Answers

Answer:

Because you're using "elif".

If I were to have this code:

if *blank*:

    *action 1*

elif *blank*:

    *action 2*

If and elif is basically saying "one or the other". Since 10 is >= 2, it prints out only whistle. Instead of elif, you were to replace them all with "if", it would print out:

whistle

snap

clap

When is the following expression true? (2 points)
!(!a || b) || (!a && b)
1) If and only if a and b have different values
2) If and only if a and b have the same value
3)
If and only if both a and b are true
4) If and only if both a and b are false
5) The expression is never true

Answers

Answer:

1) If and only if a and b have different values

Explanation:

Given

Expression: !(!a || b) || (!a && b)

Required

When is it true?

The expression is true when the values a and b are different and the proof is as follows.

(1) Assume that: a = true and b = false

!(!a || b) || (!a && b)  

= !(!true || false) || (!true && false)

!true = false, so the expression becomes:

= !(false|| false) || (false && false)

In boolean, false|| false = false and false && false = false. So, we have:

= !(false) || (false)

!(false) = true, so, the expression becomes:

= true || (false)

Lastly, true || false = true

(2) Assume that: a = false and b = true

!(!a || b) || (!a && b)  

= !(!false|| true) || (!false && true)

!false = true, so the expression becomes:

= !(true|| true) || (true && true)

In boolean, true|| true = true and true && true = true. So, we have:

= !(true) || (true)

!(true) = false, so, the expression becomes:

= false|| true

Lastly, false || true = true

This expression is false if a and b have the same value

what is the extension of a Microsoft access database 2013​

Answers

Answer:

Access Database (2007, 2010, 2013, 2016)..accdb

Answer:

.accdb

Explanation:

.accdb is the extension of Microsoft Access Database 2013

what did Bakers wear (1) in the Portugal does (2) when was author was young ???

Please don't post invalid answer please..!!​


Anyone active here please give me answer of that question..!!

Answers

(i) The dress that the bakers used to wear in Portugal was; a a single-piece long frock that reached to their knees called ''Kabai''.

(ii) The dress that the bakers used to wear when the author was young was; shirts and trousers that were shorter than the ones of full length but longer than half-pants.

This question is from the title "Glimpses of India" which is a story about a baker from Goa that is related to the period/time when the Portuguese were ruling in Goa. The story is simply a chronicles of one of the bakers that was residing in a Goan village.

i) Now, according to his story, it was clear that the cloth that was synonymous with the bakers was a single piece frock that reached their knees and this dress was called "Kabai"

ii) When the author was young he reported that the dresses then among the bakers were shirts and trousers that were quite shorter than the ones of full length but longer than the half-pants.

Read more on glimpses of india at; https://brainly.com/question/9566788

Which code is easier to learn, Python or C++. And which one is better than the other in your opinion

Answers

Okay so I’m terms of easiest to learn it depends on the person for me it is Python and python is better because it can be used for lots of purposes

Super Shenron vs Zeno D-e-a-t-h B-a-t-t-l-e Creation v Destruction Who Would Win????
Lmk

Answers

Answer:

both tbh I don't know I'm doing this for points cuz I need help for sm

Explain why E-mail A is inappropriate for the workplace and revise it to be appropriate.

Answers

Email A Is Not Appropriate Because The Email Dosent Sound Professional At All Or Respectful At All

Explanation:

This is the revised Email Appropriate For Workplace

Is it possible that I will be receiving the training manual this morning because I will be needing it for my next shift.

inappropriate--workplace email uses include messages linked to social networking sites or emails involving an employee's sideline business.

Hope this Helps you!!

What statement BEST explains the relationship between these two facts

Answers

Chocolate is now a sweet treat that is very popular in the us

Answer:

Chocolate is now a sweet treat that is very popular in the us

Explanation:

:)

public class Bird
{
beakStrength = input;
}
public void setBeakStrength(int strength)
{
beakStrength = strength;
}
}
public class Hawk extends Bird
{
private int talonStrength;
public Hawk(int talon, int beak)
{
super(beak);
talonStrength = talon;
}
}
The following statement appears in a method in another class.
Bird b = new Hawk(5,8);
Which of the following best describes the effect of executing the statement?​

Answers

Answer:

Answer below.

Explanation:

You are creating an object of bird "b" with a talon strength of 5 and a beak of 5.

public Hawk(int talon, int beak)

{

super(beak);

talonStrength = talon;

}

Please mark brainliest if this is the answer you were looking for

Please mark brainliest if this is the answer you were looking for

In this exercise we have to use the knowledge of computational language in python to write the code.

We have the code in the attached image.

The code in python can be found as:

public Hawk(int talon, int beak)

{

super(beak);

talonStrength = talon;

}

See more about python at brainly.com/question/26104476

If I got a monitor and kept my garbage laptop could I play games on max graphics?

Answers

Answer:

No?

Explanation:

Well depending on the hardware of the laptop, all this would do is force the laptop to on top of processing your games, output frames onto the monitor. This monitor is just another screen along with the built-in one of the laptop. Thus, you really can't go max graphics unless your laptop was able to do so in the first place.

How does a computer program use pixels to display an image?

Answers

Every image on your computer's screen is made up of pixels. A pixel is a tiny dot of color. ( proper ans: When the pixels are small enough, your brain merges them together into a single image.)

Answer:

Every image on your computer's screen is made up of pixels. A pixel is a tiny dot of color. When the pixels are small enough, your brain merges them together into a single image.

for more information please visit http://coredogs.com/lesson/how-computers-show-images.html#:~:text=Every%20image%20on%20your%20computer's,together%20into%20a%20single%20image.

For what two reasons is it important to add comments to a program?​

Answers

Answer: 1. They can easily understand the logic behind solving any problem 2. Comments may help you to memorize your logic that you have written while writing that code.

Have you watched, or listened to, a documentary on your computer, smartphone, or on demand? Do you think these new distribution choices help or hurt future opportunities for video journalists? Support your answer.

Answers

Answer:

Yes, and No it does not hurt their opportunities

Explanation:

The main goal of video journalism is to get their work in front of as many people as possible so they can share their stories with the entire world. These platforms allow for this to happen. Smartphones, Computers, On-demand video platforms, etc. all allow Video Journalists to publish their work in various different platforms and formats in order to get their work seen by hundreds, thousands, or even millions of individuals. Therefore, It does not hurt video journalists, but instead encourages them and helps them further their work by creating more opportunities.

Decide whether each source would be considered a primary or secondary source

Answers

Answer:

Can you attach a picture so we can see?

Explanation:

Answer:

yea we cant see any sources

Explanation:

Other Questions
How did one group of women do to change how they were treated in the workplace? 2. Read this line from "The Mock Turtle's Song" below. What metrical foot. does the poet use?*Wil you, won't you will you, want you won't you join the dance?Oiamb: unstressed syllable followed by a stressed syllabletrochee: stressed syllable followed by an unstressed syllableo ooanapest: two unstressed syllables followed by a stressed syllableOfree verse: no pattern of stressed and unstressed syllables i need help w this asap What role do you think advertising has played in increasing consumption and consumerism? Do you think that you are influenced by advertising? Why or why not?PLEASE ANSWER Which is the most likely purpose of a biography? to entertain to persuade to argue o to inform Javier bought a 20-pound bag of dog food for his Great Dane, Tank. After 7 days, all the dog food was gone.How much dog food did Tank eat each day?Write your answer as a proper fraction or mixed number. Three major world religions trace their origins to the Middle East and North African region. While each religion has many distinct beliefs, they also have quite a few characteristics in common. Using information from the tutorial and this online resource, as well as your own knowledge of the topic, compare and contrast Islam, Judaism, and Christianity. Identify the religion or religions that apply to each characteristic listed in the table below. Then add three more characteristics that you find helpful in identifying similarities or differences among two or more of the religions Why did Japan take over other countries during the interwar period? PLEASE HELP ME !! WHO EVER GETS IT RIGHT GETS BRAINLIEST The one highlighted is wrong please help Are these triangles congruent ? Please don't guess. Give me the right answer. If you don't know the answer that just don't mind. the right and the correct answer get the brainliest!!!Which type of economy would be most impacted by a high tariff?A) agrarianB) industrialC) tradeD) manufacturing find the perimeter of the figure A runner ran 20 miles in 150 minutes.If she runs at the same speed,a. How long would it take her to run 6 miles? ___minuetsb. How far could she run in 15 minutes?___milesC. How fast is she running in miles per hour?miles per hour___d. What is her pace in minutes per mile?minutes per mile___ DO NOT SEND ME PDFS!!!!!! Answer with a paragraphIn seals, long whiskers (W) are dominant over short whiskers (w). What would be the phenotype ratio if the genotype ratio was 2 ww:1 ww? What type of angles are 22 and 27? Which statement is true for two pieces of iron at the same temperature ? A. The total kinetic energy of their particles is equal help help help!!!! I need an essay done in an hour!!!! plzzzzzzEssay Topic : Was the United States rational when it came to the use of the atomic bomb in Japan? A train is traveling at a speed of 80km/h when the conductor applies the brakes. The train slows with a constant acceleration of magnitude of 0.5 m/s^2. We want to find the distance the train travels from the time the conductor applies the brakes until the train comes to a complete stop. Which kinematic formula would be most useful to solve for the target unknown? HELP PLEASE ILL MARK BRAINLIEST!!Match these items.1. President, Congress, Supreme Courtchecks and balances2. Chi Rho crossfive-year plans3. Reform in the USSRcommunism4. Austria-HungaryUUDIUIConstantinel5. Karl Marx6. Poland's capitalZagrebRussia's religion7. StalinEarly Europeans8. OrthodoxMikhail Gorbachev9. Croatia's capitalWarsaw10. SlavsDual Monarchy