cadelovesqueen
cadelovesqueen cadelovesqueen
  • 20-05-2021
  • Computers and Technology
contestada

plz i need help what is wrong on line 14

plz i need help what is wrong on line 14 class=

Respuesta :

Cytokine
Cytokine Cytokine
  • 20-05-2021

Indentation is very important in python. You need to indent code inside while loops, for loops, if statements, etc. You don't seem to be indenting.

In this example:

while (secretNum != userGuess):

   userGuess = int(input("Guess a number between 1 and 20: "))

Although, you might need to indent more than only this line. I hope this helps.

Answer Link

Otras preguntas

Brandon enters bike races.He bikes 8 1/2 miles every 1/2 hour. complete a table to find how far Brandon bikes for each time interval.
A Web site identified by which of the following URLs would likely have the most reliable information? .edu .biz .com .net
What were the two major areas of focus of Ronald Reagan’s economic plan? (A) Expanding federal assistance programs and increasing government (B) Adopting Keynes
What were two diseases Europeans brought to the nether world that killed natives
Under the Constitution of the United States you may not be deprived of life liberty or property without
How does exercise benefit the cardiovascular system
Why do we say that "an enzyme is reusable"?
The Mogul Dynasty in India came to an end when __________.
PLZ HELP! Which word in the sentence is an adjective? The modern Olympics began in Athens, Greece, in 1896. A. Greece B. Athens C. Olympics D.
Oder the Decimals below from least to greatest. 2.09 2.9 2.19 2.009 2.901