- This event has passed.
6 PM – Intro To Python – Darin
January 9 @ 6:00 pm - 7:00 pm
What We Did Today:
- Reviewed how to use functions with and without return value
- Learnt how to use the random function, using random.randint(1, 10) and random.choice( {some list} )
- Created a magic 8 ball program that answers any question the user asks with a random answer
Homework:
For those of you that haven’t finished the previous homework number 8-3, submit that homework (called Jan2_FunctionsWithRV.py) into the google drive! We completed 8-1 and 8-2 in class.
Continue by creating a file called Jan9_FunctionsHW3.py and submit into the google drive when finished!
- do number 6 and 7 from the following website: https://www.ayclogic.com/list-inputs-if-and-else-loops-and-function/
note: number 7 is similar to the one we did in class from the file Jan2_FunctionsWithRV
Notes:
If you have any questions, do email me at ddjapri@ayclogic.com!