36990-Lesson 2
36990-Lesson 2
Lesson 2
1
Starter
Start Python and create a program which will ask
for the user’s name and current age and then will
say Hello and will display their age on their next
birthday.
Possible Solution:
2
Objective of the lesson
Write simple programs using Python.
3
Homework
• Everybody should complete Tasks
1 and 2 to find the errors in the
program and complete the
crossword.
• Some of you may also want to get
the extra marks by completing the
extension activity.
• This homework is due in next
lesson.
• Make sure you have written your
homework clearly in your planner.
4
## is used to create
comments which are
If Statements ignored by Python but make
the code easier to
What will this code do? understand.
if is used to decide if an
action is going to be
followed. It ends with a :
symbol.
6
Try these out…
Follow the instructions
on the sheet to recap If
statements.