Lesson 9 of 62 ยท about 14 minutes
Making Decisions ๐
Making Decisions ๐ Programs get interesting when they react to data. if lets you run code only when something is true. temperature = 23 if temperature > 28: print("Scorching") elif temperature > 18: print("Lovely") else: print("Bring a coat") Indentationโฆ
โถ Watch the video for lesson 9
The video lesson is a free preview.
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.