Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Conditional statements
Summary

Instruction

Good. Before we move on, we'll introduce comments. Comments are pieces of code ignored by Python. You can use them to describe what your code does or to quickly get rid of some lines when you experiment.

# store the vin of the car we're looking for
car_vin = 'GH665SD'

Comments are introduced with a hash sign (#). They can occupy a whole line or begin in the middle of the line. Whatever is put to the right of the hash sign will be ignored by Python.

Exercise

Look at the template code. Comment out the line:

turtle_lifespan = turtle_lifespan + 40

and run the code to see what the program prints.