Topic 4d - Decisions Part 4
This topic introduces adding the elif clause to an if statement. We will also look at solving slightly larger problems using if statements.
Topic 4d - Making Decisions Part 4
What to do?
1 - Follow along with the lesson on adding elif blocks to your programs, or work through the tutorial.
2 - You may wish to watch the following video to help:
https://www.youtube.com/watch?v=uLJ7wxeaBbE
3 - Download and open up the if vs elif.py demo program from the Files section below and have a look.
4 - We will create an IPO chart for the "Getting to Work" example in the lesson and program it.
5 - Complete the online quiz:
http://programarcadegames.com/quiz/quiz.php?file=if_statements&lang=en
6 - Complete the Programming Exercises (3 of them) on the lesson handout.
If you are struggling with getting started, make an IPO chart.
Note that you should try to use if/elif/else blocks where possible, but these are possible without them.
Guess my Number
Multiple Choice
Grade Assessment
7 - Upgrade your Chatbot to version 1.1 as described in the document below.
What to Submit?
Submit the three Programming Exercises.