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 1

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


Related Questions

What are the parts of word?

Answers

Answer:

Explanation:

ASIA includes 50 countries, and it is the most populated continent, the 60% of the total population of the Earth live here.

AFRICA comprises 54 countries. It is the hottest continent and home of the world's largest desert, the Sahara, occupying the 25% of the total area of Africa.

NORTH AMERICA includes 23 countries led by the USA as the largest economy in the world.

SOUTH AMERICA comprises 12 countries. Here is located the largest forest, the Amazon rainforest, which covers 30% of the South America total area.

ANTARCTICA is the coldest continent in the world, completely covered with ice. There are no permanent inhabitants, except of scientists maintaining research stations in Antarctica.

EUROPE comprises 51 countries. It is the most developed economically continent with the European Union as the biggest economic and political union in the world.

AUSTRALIA includes 14 countries. It is the least populated continent after Antarctica, only 0.2% of the total Earth population live here.

I was designed to meet the computing needs of an individual. I was originally referred to as ___________________.
a) Servers
b) Supercomputers
c) Microcomputers
d) Mainframes

Answers

c) microcomputers
explanation: designed for computing needs of an individual

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.

arrange the following devices pendrive , hard disk , compact disc in descending order of storage capacity​

Answers

Answer:hard disk compact disc

Explanation:

Why do guys get jealous when u hangout with another guy that's not them

Anyways what's 1+1 just putting this to not get reported by a mod​

Answers

Answer:

pootin

Explanation:

yotub search terms:

putin behind putin assassination

What happens when a user clicks the question mark at the top of the Backstage view?
O It shifts the view to the main window.
It makes the Tell Me text box appear.
O It opens the PowerPoint Help interface.
O It opens the Microsoft Help website online.

Answers

Answer:

D

Explanation:

Access to recent opened files, information about the permissions, sharing, and versions of the open file, the ability to create a new file, and printing are all available from the backstage view. Along with other details (properties), the Backstage View offers the following about the file. .file size Thus, option D is correct.

What question mark at the top of the Backstage view?

You may save, open, print, and share your presentations in a number of ways using the backstage view. Click the File tab on the Ribbon to see Backstage view. When you select the Info option in the Backstage View, additional details about the file are also made available, including the following.

The Microsoft Office Backstage view appears when a Microsoft Office program is launched or when you click the File tab. Backstage is where you should go if you need to make a new file, open an existing file, print, save, change options, or do anything else.

Therefore, It opens the Microsoft Help website online.

Learn more about Backstage view here:

https://brainly.com/question/27362542

#SPJ2


5 Which one of the following refers to printed versions of documents
a) Scanned documents
b) Hardcopy documents
c) Compressed documen
d) Zipped documents​

Answers

Answer:

Explanation:

Option B is the correct answer

To qualify as a professional Android developer, you need to get _____
certification.

Answers

Answer:

proficiency

Explanation:

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.

the field names in a database are also known as__?

Answers

Answer:Here are some common database field types, which are called different names in accordance with the specific database design:

Text, Alphanumeric, Character, String

Byte

Short, Integer

Long, Integer

Single, Real

maybe more

Explanation:

Answer:

Column

Explanation:

I..d...k I’m not 100% sure

The limitations placed on employees in accordance with the company's policies and procedures

Conflict Management

regulatory control

Autocratic Leadership

Copyright

Answers

Answer:

Answer is B!

Explanation:

I just took the quiz (:

The limitations placed on employees in accordance with the company's policies and procedures regulatory control. Thus, option B is correct.

Who is an employee?

An employer is an individual that hires employees to do their tasks and responsibilities, whereas an employer is a worker for a firm and receives a wage.

If processes are not followed, employees may file claims for wrongful discharge or intentional dismissal with the Court. this helped the company to make sure that they run in a smooth manner. As these rules are set to mark the company in a progressive manner.

A company policy is a set of guidelines and rules that employers can use to formalise their requirements and standards for the health and safety of employees, transparency, best practices, and internal business procedures.

Therefore, option B is the correct option.

Learn more about employee, here:

https://brainly.com/question/18633637

#SPJ6

__________________ is a technique can be beneficial when driving next to parked vehicles or approaching signal lights or intersections.

Covering the brake
Using your handbrake
Slipping the clutch
Drifting

Answers

Answer:

Covering the brakeis a technique can be beneficial when driving next to parked vehicles or approaching signal lights or intersections

Covering the brakes is a beneficial driving technique for driving next to parked vehicles o while approaching the signal lights.

What is driving technique?

The appropriate and standard ways keeping the legal functions in mind while driving a vehicle is known as an ethical driving technique.

While driving, when a parked vehicle is in the way or at the time of approaching the signals or intersections on the roads, it is the best advisable to cover the brakes of the vehicles.

Hence, option A holds true regarding the driving technique.

Learn more about driving technique here:

https://brainly.com/question/9854106

#SPJ2

I need help please, this is python. Please write out answer in comment.

Answers

Answer:

I would need to see the program to be able and solve your numeral error

What is piracy? (1 point)
A.the use of copyright in federal court
B.copying, downloading, reproducing, or distributing materials without permission
C.exercising your intellectual property rights
D.giving others permission to use your tangible property

Answers

Answer:

B

Explanation:

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

help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!​

Answers

Answer: the body shape is skinny

Keli is unable to find a shape that meets her needs. Which feature in Power Point should she use to create shapes that are completely customized?

Answers

Answer:

I just use the search bar in the app and type in shapes. Then you right click on the shape and click on edit points to shape it into whatever shape you want.

Explanation:

I went into the PowerPoint and did it myself.

Write an algorithm and corresponding flowchart for a program that prints multiple of 5 starting with 100 and ending with 180.

Answers

Answer:

The pseudocode is as follows:

1. Start

2. total = 0

3. for i = 100 to 180 step 5

3.1    total = total + i

4. print total

5. Stop

Explanation:

This begins the algorithm

1. Start

This initializes the total to 0

2. total = 0

This iterates from 100 to 180 with an increment of 5

3. for i = 100 to 180 step 5

This adds up all multiples of 5 within the above range

3.1    total = total + i

This prints the calculates total

4. print total

This ends the algorithm

5. Stop

See attachment for flowchart

How do I delete the Chrome apps folder, because I tried to remove from chrome but it won't let me

Answers

Answer:

Explanation:

1. Open your Start menu by selecting the Windows logo in the taskbar and then click the “Settings” cog icon.

2. From the pop-up menu, click “Apps.”

3.Scroll down the “Apps & Features” list to find  g00gle chrome

4. Click “G00gle Chrome” and then select the “Uninstall” button.

Hope this help!

Helped by none other than the #Queen herself

Which one of the following is a type of network security?
a) Login Security
b) Rights Security
c) Both (a) and (b)
d) Neither (a), nor (b)


Answers

Answer:

I think it's (login security)

Which gallery will allow a user to access a variety of preconfigured formatting styles for images that are added to a
PowerPoint presentation?
O WordArt gallery
O Shape Styles gallery
O Picture Styles gallery
O SmartArt gallery

Answers

Answer:Picture Styles gallery

Explanation:

Use the factorial operation to evaluate 4!.
10
O 24
04
0 1

Answers

Answer:

24

Explanation:

factorial operation 4! = 4×3×2×1 = 24

Calculate: 13.28 - 1.65

Answers

The answer is :11.63

Answer:

13.28 - 1.65 = 11.63

Explanation:

hope it helps

Classroom content transaction
examples use of IT

Answers

Answer:

1. Online classes

2. Presentation

3. Account of books

Solve the following activity in pairs . Eldar uses a controller with a circuit to light 16 LED lamps which are labeled from 1 to 16 . When the controller a gives signal to a LED lamp , it changes its state (ON or OFF ) . In the beginning, all the LEDs are swi hed OFF . Eldar has found a sequence of lightning: On the 1st second controller lights ON all LED lamps . ( 1 .... 2 ... 3 .....) On the 2nd it lights ON the LEDs that are even in the circuit. ( 2 ... 4 ... 6 .... ) On 3rd second it lights every third LED in the circuit. ( 3...6...9...) And so it continues in similar way... Which LEDs must be switched ON after the 16th second​

Answers

Answer:

Non  of the LED lamps present will be switched on after the 16th second

Explanation:

From the question, the operation of the controller with time are;

The LED lamp the controller lights up on the 1st second = All LED lamps

The LED lamps the controller lights up on the 2nd second = All even numbered LED lamps = Every other lamp with a number which is a multiple of 2

The LED lamps the controller lights up on the 3rd second = Every other LED lamp with a number which is a multiple of 3

Given that the LED lamps continues in that way, the LED lamps the controller lights up on the 16th = The 16th LED lamp which is a multiple of 16

Therefore, the LED lamp(s) the controller lights up after the 16th second = The 17th or more LED lamp = Non  of the LED lamps present will be switched on after the 16th second

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.

Which of the following is an example of an application ?

Answers

The third one I think
The 3rd one cause all the others are brands pretty much

example of hand held computer​

Answers

Answer:

Examples of Handheld PC devices are the NEC MobilePro 900c, HP 320LX, Sharp Telios, HP Jornada 720, IBM WorkPad Z50, and Vadem Clio. Also included are tablet computers like the Fujitsu PenCentra 130, and even communicators like the late Samsung NEXiO S150.

What is ed-tech? Because we are doing a project in computers.

Answers

Answer:

"Educational technology is the combined use of computer hardware, software, and educational theory and practice to facilitate learning. When referred to with its abbreviation, EdTech, it is often referring to the industry of companies that create educational technology."

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

Other Questions
QUESTION: Describe the geography of the location for the kid nation Preparing an agenda for a meeting is a good idea because it _______.a.Lets others know that who is in chargeb.Sets a guided focus for the meetingc.Makes it harder to understand meetings purposed.Creates tension in people who cant attend Name the polygon. Then tell whether it is a regular polygon or not a regular polygon. A fixed cost: Multiple Choice Is irrelevant for cost-volume-profit and short-term decision making. Changes with changes in the volume of activity within the relevant range. Does not change with changes in the volume of activity within the relevant range. Is directly traceable to a cost object. Requires the future outlay of cash and is relevant for future decision making. what is four is an even number in mathematical sentence? if g(x)=11x+3 find g(x+7) and g(x)+g(7). Find the area of the triangle. A. 90m2B. 67.5m2C.45m2D.33m2 SOMEBODY PLZ ANSWER!This graph is from a publication of the Centers for Disease Control and Prevention (2017). The y-axis shows the percentage living with diabetes.The Board of Directors of a medical school wants to use the trend to predict the percentage in 2020 so that they can help train enough doctors to handle the growing numbers. Use a visual estimate of the line of best fit to make a prediction. Do you think your estimated line of best fit will be accurate? Explain why or why not. Which statement is true?A: - 16/6 is equivalent to 8/3 because 8/3 x -2/-2 = - 16/6B: 3/5 is equivalent to - 9/15 because 3/5 x 3/3 = - 9/15C: 20/6 is equivalent to - 10/-3 because - 10/-3 x -2/-2 = 20/6D: - 5/8 is equivalent to 20/32 because - 5/8 x 4/4 = 20/32 When Mama Bear told Jack and Jill that Prince Charmant put "la bonne Reine des Contes de Fes au dungeon." Whodo they find out is this "bonne Reine"?their motherO a fairy godmotherO the kingO their cousin Helppp answer question pic in photo A bag contains 4 red marbles and 2 white marbles. A marble is selected, returned to the bag, and then another marble is selected. Find P(red, then white). How did the Ottoman Empire & Ming Dynasty gain,consolidate, and maintain their power?( couple sentences long) I'll know if you copied it what is the area of a sector of a circle with a diameter of 12 and a sector bou des by a 90degree arc? Burning changes an object's: What are the sources of the energy that drives the earths processes?Select one:A. The sun and the earths interior.B .The sun and chemical reactions.C. The earths interior and chemical reactions.D. The earths interior and gravity. Two researchers, Jaime and Mariya, are each constructing confidence intervals for the proportion of a population who is left-handed. They find the point estimate is . Each independently constructed a confidence interval based on the point estimate, but Jaime's interval has a lower bound of and an upper bound of , while Mariya's interval has a lower bound of and an upper bound of . Which interval is wrong? Why? Choose the correct answer below. what is 2 1/2 1/9 and how do i get the answer How to memorize neun,eun etc. | korean| Which organism is not extinct