- This event has passed.
3 PM – Intro To Python (Summer Session) – Darin
July 11 @ 3:00 pm - 5:00 pm
What We Did Today:
- Finished the Robux system program.
- Reviewed the topics for the final exam.
Homework:
Optional Homework to Prepare:
- Try drawing any combination of rectangles and circles, then turning them into a function, and then making the shape.
- You can try creating this program for practice:
Create a program that lets you cook a randomly selected recipe from the list: Chicken Spaghetti, Lasagna, Burgerand lets you get random amounts of rating points.
The program outputs the following:
Welcome to the AYCLOGIC cooking show! You start with 0 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1You cooked a Chicken Spaghetti and got 10 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1You cooked a Lasagna and got 15 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1You cooked a Lasagna and got 0 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 1You cooked a Burger and got 20 rating points.
What do you want to do?
1. Cook
2. Leave the game
Enter your selection: 2Thank you for playing with us.
You cooked the following:
Chicken Spaghetti
Lasagna
BurgerYou ended the game with a total of 45 rating points.
Notes:
If you have any questions, you can email me at ddjapri@ayclogic.com!!