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

What were the Code talkers in world war 2
the number of cobalt atoms in 0.00103 g of cobalte
Geometry Help! (will mark brainliest)
A couple sold an investment property for a realized gain of $58,000. Do they have to report this to the IRS and if so, on what form?
(04.06) Help asap Thanks a ton! Lee la frase y escoge la palabra correcta. Read the sentence and choose the correct word. El nuyorriqueño, George Pérez, es cono
start a conclusion based on the data from this experiment
Which mode of narration is used in this excerpt from Daisy Miller by Henry James? The young lady inspected her flounces and smoothed her ribbons again; and Wint
If the endpoints of `bar(AB)` have the coordinates A(9, 8) and B(-1, -2), what is the midpoint of `bar(AB)`? A. (5, 3) B. (4, 5) C. (5, 5) D. (4, 3)
Which question can be answered by science? A. Is it O.K. to force people to recycle their grocery bags? B. Should the government be regulating the use of
I need help please on math