- This event has passed.
6PM Python Level 1
February 6, 2019 @ 6:00 pm - 7:00 pm
Homeworks:
- We went completed “Making Decisions” chapter from page 28 to 31.
- Create a program (making_decisions_hw_feb_6.py) that will do the following:
- Ask user “Give me your age? “
- If the user enters 0 print “You are a newborn baby”.
- If the user enters any number smaller than 4 then print “You are a toddler”.
- If the user enters any number smaller than 13 then print “You are a kid”.
- If the user enters any number smaller than 20 then print “You are a teenager”.
- If the user enters any number smaller than 40 then print “You are an adult”.
- If the user enters any number greater than or equal to 40 then print “Dude!! You are old.”.