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
andrew11 [14]
3 years ago
13

Explain why the program did not print "clap", and how to fix it.

Computers and Technology
1 answer:
lara [203]3 years ago
6 0

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

You might be interested in
Write a program that ask the user to enter air water or Steele and the distance that a sound wave will travel in the medium the
bazaltina [42]
I might be able to do this but I'd have to just send you the python code for you to run on your own.

Also, what should the distance be in?

I can get it to you in an hour.
4 0
3 years ago
How do i delete an account for brainly how do i delete everything
soldi70 [24.7K]

Answer:

The only way ik you can do that is to sign out hope i helped

Explanation:

4 0
3 years ago
Read 2 more answers
Does coaxial cable use radio waves to transmit data
Elan Coil [88]
Coaxial cable<span>, or </span>coax<span> (pronounced </span><span>/<span>ˈkoʊ.æks</span>/</span><span>), is a type of </span>cable<span> that has an inner conductor surrounded by a tubular insulating layer, surrounded by a tubular conducting shield. Many coaxial cables also have an insulating outer sheath or jacket. The term </span>coaxial<span> comes from the inner conductor and the outer shield sharing a geometric axis. Coaxial cable was invented by English engineer and mathematician </span>Oliver Heaviside, who patented the design in 1880.[1]<span> Coaxial cable differs from other </span>shielded cable<span> used for carrying lower-frequency signals, in that the dimensions of the cable are controlled to give a precise, constant conductor spacing, which is needed for it to function efficiently as a </span>transmission line<span>.</span>
5 0
3 years ago
Read 2 more answers
Using numerous computers to inundate and overwhelm the network from numerous launch points is called a(n) ________ attack.
AnnZ [28]
Distributed Denial of Service /<span> </span><span>DDoS</span>
4 0
3 years ago
Choose the correct line of code.
Naddika [18.5K]
Def_pow_(self,b): if not then I’m sorry
5 0
3 years ago
Other questions:
  • The system administrator in your office quits unexpectedly in the middle of the day. It's quickly apparent that he changed the s
    10·1 answer
  • Help me please (program c++)
    11·1 answer
  • Do the shape of a sign gives you a clue about the information contained on the sign
    7·1 answer
  • Varun wants to start his own business. Suggest him at least four functions of an entrepreneur.
    8·2 answers
  • Which is an example of an incremental approach to solving a problem?
    15·1 answer
  • The term "exception propagation" means:
    5·1 answer
  • I need help, whoever gets it correct will get brainliest
    7·1 answer
  • What correctly describes the features of the service called kickstarter?
    14·2 answers
  • List six features of the Microsoft ​
    10·1 answer
  • Why would researching the average earnings by major and by career be useful to you as you choose an institute for higher educati
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!