« All Events
3:30 PM – Intro To Python – Gamas
January 4 @ 3:30 pm - 4:30 pm
Today We Did
- We learned about function with no return
- We learned about function with return.
Homework
- Create jan_4_function_hw.py
- https://www.ayclogic.com/list-inputs-if-and-else-loops-and-function/
- Create jan_4_magic_8_ball.py
- Write a program that will continuously ask “Ask yes or no question:” and the program will answer either yes, no or maybe. You have to use while loop, input from shell and random module.
Ask yes or no question: Is it cold outside?
yes
Ask yes or no question: Is it dark outside?
no