American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

12:30 PM – Intro to Python – Abigail

April 25 @ 12:30 pm - 1:30 pm

Today We

  1. We went over the 2nd quiz.

Homework

  1. Create a function called age_classifier with one parameter called age
  2. This function will RETURN a string depending on the age
    1. If age is 5 or below = “Toddler”
    2. If age is 18 or below = “Teen”
    3. If age is above 18 = “Adult”
  3. CONTINUOUSLY ask the user what their age is, then call the function using the user’s age to get a result.
  4. Print out the result.

If you have any questions, email me at abigail@ayclogic.com

Details

Date:
April 25
Time:
12:30 pm - 1:30 pm
Event Categories:
,