American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro to Python – Darin

September 12 @ 5:00 pm - 6:00 pm

What We Did Today:

  1. Learnt about random module to use the random functions

Homework:

Make a file called Sept5_Magic8BallV2.py and submit to the google drive HW folder when you guys are done:

# modify version 1 of magic8ball to use random.choice()
# or r.choice() instead

# put the code that does the random generation into a function
# return the “response” in the function, and then
# use that function in the while loop to store the generated result
# and print it out

Notes:

All class notes can be found here: https://drive.google.com/drive/folders/1ClxGyA_3oLZtwhgN0j3BVZjpffoxMHNj?usp=sharing

You can reach me at ddjapri@ayclogic.com

Details

Date:
September 12
Time:
5:00 pm - 6:00 pm
Event Categories:
,