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 is the biggest river
Hi! ( your name ) How are you? Have you eaten? Go drink some water! Are you feeling sad? go to the comments and talk about it. Do you need advice I will try to
need help asap!!!!!!!
Other than their laws, what can we learn about Babylonia from Hammurabi’s Code? Answer with at least 2 specific details, in complete sentences.'
Micah is doing a project for social studies on population distribution around the world which visual tools would be best to help Micah communicate the populatio
Solve the quadratic equation for x. what is one of the roots? 2x^2+9x-5=0
the first city to establish a formal law enforcement force was
Please help me this!!
Why might Constantinople have been a tempting target for conquest by the Byzantine Empire's neighbors?
During the Renaissance period, how was instrumental music performed? ​