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 he first step in solving the equation (*x*-6)2=9
Name the 4 realms of the earth .
What is the total mass of 2.0 moles of diatomic hydrogen?
I lost my English book what do I do?
Identify a food chain that consists only of a producer a primary consumer and a secondary consumer.
When an alkaline earth metal, M, reacts with oxygen the formula of the compound produced will be a. M₂O b. MO c. M₂O₃ d. MO₂ e. M₃O₄
Sienna has 80 yards of fencing to enclose a rectangular area. Find the dimensions that maximize the enclosed area. What is the maximum area?
if  sin (α+β) = 1,  sin (α-β) = 1/2 then tan (α+2β) tan(2α+β) = a. 1          b.-1            c.0              d. none
Who wrote the dystopian novel Nineteen-Eighty-Four in which Newspeak demonstrates the heightened linguistic self-consciousness of modernist writers? a) George
Write a quadratic function in standard form with zeros 9 and -4