- This event has passed.
5:00 PM – Python Object Oriented Programming – Shawn
June 30, 2023 @ 5:00 pm - 6:00 pm
Today We Did
- Reviewed and finished LibrarySystem
- Began SchoolSystem
Homework
- Work on
main2.py
- Delete the
self.menu
attribute. You’re going to use the dictionary to print out the menu instead! - Create the
print_menu_and_take_input()
function. This function is going to- Print the menu using the dictionary (hint: use a for loop)
- Take in the selection using
input()
- Return the selection
- In the application loop, replace the
input()
with theself.print_menu_and_take_input()
- Delete the
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.