American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

6:00 PM – Python OOP -Joshua

September 11 @ 6:00 pm - 7:00 pm

Today We did

  •  Demonstrate the pygame in the future
  • Finish reviewing the snack system homewowrk
  • Showcased the game (monster system)

 

Homework

  • For your snack System, I want to create a class function (find_snack) that looks through the dictionary to find if a snack is inserted into dictionary
  • call the function find_snack. it should
    • 1. Ask for an input that asks for the name of the snack
    • 2. Use an if statement combined with in  or a for loop to look through our dictionary
    • 3. If there is that food item, print its information

Details

Date:
September 11
Time:
6:00 pm - 7:00 pm