American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5:00 PM – Python Object Oriented Programming – Shawn

June 30, 2023 @ 5:00 pm - 6:00 pm

Today We Did
  1. Reviewed and finished LibrarySystem
  2. Began SchoolSystem
Homework
  1. Work on main2.py
    1. Delete the self.menu attribute. You’re going to use the dictionary to print out the menu instead!
    2. Create the print_menu_and_take_input() function. This function is going to
      1. Print the menu using the dictionary (hint: use a for loop)
      2. Take in the selection using input()
      3. Return the selection
    3. In the application loop, replace the input() with the self.print_menu_and_take_input()

 

NOTE THAT WE HAVE NO CLASS NEXT WEEK DUE TO INDEPENDENCE DAY HOLIDAY! 

Feel free to let me know if I have any questions — reach me at szhuang@ayclogic.com.

Details

Date:
June 30, 2023
Time:
5:00 pm - 6:00 pm
Verified by MonsterInsights