quickrey1
quickrey1 quickrey1
  • 01-01-2021
  • Computers and Technology
contestada

find the error in the statement below

if height _variable >59;

print ("you can ride this roller coaster.")​

Respuesta :

Cytokine
Cytokine Cytokine
  • 01-01-2021

Since this code is in python, you have to follow python syntax.

All if statements must end with a colon not a semi colon. For instance,

if height_variable > 59; should be if height_variable > 59:

Also, the print statement should be indented into the if statement.

if height_variable > 59:

   print("you can ride this roller coaster.")

Answer Link

Otras preguntas

what is the rate of change for y= -3x​
can barrier islands change shape and be eroded away by large storms? YES or NO
What are the domain and range of this graph?
Which of the following processes is the best term for explaining how we learn languages? * 5 points biofeedback discrimination modeling insight creativity.
Pat bought running shoes for $60. This was four dollars more than 2.5 times the cost of her old shoes. How much were her old shoes?
490 kilometers is equal to how many miles? (1.6 km = 1 mile) miles
Giving brainliest! Please no spam answers just for points, I really need help. Please and thanks
Globalization has led to an increase in the importation of agricultural goods due to the widespread specialization of production for exportation. Is this statem
una palabra no dice nada y al mismo tiempo lo dice todo
For the following multiple choice questions choose the best answer (2 points each): 1. The three fundamental particles of the atom are a. Nucleus, protons and n