- This event has passed.
12:30 PM – Intro to Python – Abigail
April 25 @ 12:30 pm - 1:30 pm
Today We
- We went over the 2nd quiz.
Homework
- Create a function called age_classifier with one parameter called age
- This function will RETURN a string depending on the age
- If age is 5 or below = “Toddler”
- If age is 18 or below = “Teen”
- If age is above 18 = “Adult”
- CONTINUOUSLY ask the user what their age is, then call the function using the user’s age to get a result.
- Print out the result.
If you have any questions, email me at abigail@ayclogic.com