Westonci.ca makes finding answers easy, with a community of experts ready to provide you with the information you seek. Experience the ease of finding reliable answers to your questions from a vast community of knowledgeable experts. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

find the error in the statement below

if height _variable >59;

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

Sagot :

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.")