โ† All lessons

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.

See the free lessons