American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Daniel

January 15 @ 6:00 pm - 7:00 pm

Today We:
  1. Went over the Robux System using dictionary
  2. Started to learn about Classes
  3. Created a dog class
  4. Learned how to create instances, access attributes and call methods
Your HW:
  1. Create a GroceryItem class
     Atributes: name, price, brand, 
     Method/Function: printItem:
        print out "<Item Name> - {item brand} - ${item price}"
        
    Create the 5 items in GrocerySystemV2 using this class blueprint
    Call printItme on all 5

Details

Date:
January 15
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights