American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Intro To Python (Summer Session) – Darin

June 20 @ 3:00 pm - 5:00 pm

What We Did Today:

  1. Reviewed functions with/without return values
  2. Learnt about the random module.
  3. Learnt how to get a random integer using random.randint()
  4. Learnt how to get a random item from a list using random.choice()


Create a file named in Thonny as shown, and upload it into the google drive when finished:

  1. Homework:
    Recreate the magic 8 ball program, but using random.choice() instead of random.randint().
    You will have to create a list containing the possible answers for this.


If you have any questions, you can email me at!!

Label the numbers in your python files!


June 20
3:00 pm - 5:00 pm
Event Categories:
Verified by MonsterInsights