« All Events
5 PM – Intro To Python – Gamas
January 15 @ 5:00 pm - 6:00 pm
Homework
- Create jan_15_magic_8_ball.py. Make sure the program can answer either Yes, No or Maybe
Enter your question? Is it dark outside?
No
Enter your question? Is it cold outside?
No
Enter your question? Did Alyssa go to Italy during Christmas?
Yes
Enter your question? Did Jayden go to Singapore during New Year?
Maybe
Enter your question?
- Create jan_15_grocerry_shopping_cart.py, Try not to look at your old grocerry shopping cart program
What do you want to purchase:
1. Muffin - $10
2. Pizza - $15
3. Orange Juice - $6
4. Donuts - $1
5. Steak - $20
Enter your selection 1 to 3 (Enter 'exit' for quit): 1
You have purchased Muffin for $10
What do you want to purchase:
1. Muffin - $10
2. Pizza - $15
3. Orange Juice - $6
4. Donuts - $1
5. Steak - $20
Enter your selection 1 to 3 (Enter 'exit' for quit): 2
You have purchased pizza for $15
What do you want to purchase:
1. Muffin - $10
2. Pizza - $15
3. Orange Juice - $6
4. Donuts - $1
5. Steak - $20
Enter your selection 1 to 3 (Enter 'exit' for quit): 3
You have purchased Orange Juice for $6
What do you want to purchase:
1. Muffin - $10
2. Pizza - $15
3. Orange Juice - $6
4. Donuts - $1
5. Steak - $20
Enter your selection 1 to 3 (Enter 'exit' for quit): exit
You have purchased the following items:
Muffin
Pizza
Orange Juice
You have to pay $31.
- Create jan_15_turtle_exercize.py
- Copy circle and rectangle functions from your castle project.
- Create a new function snow_man(x,y)
- Draw below