American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7: 00 PM – Intro to Python – Parna

July 21, 2022 @ 7:00 pm - 8:00 pm

Today We Do
  1. Gave feedback on Turtle Project submissions.
  2. Went over Grocery System Program.
Homework
  1. You have one week to improve your code on the Turtle Project to raise your grade on the assignment.
  2. Add an additional item to the purchase list from our Grocery System program called “Frozen Pizza”. Add to the total price and shopping cart accordingly.
  3. Expected Behavior should be like this:
  4. What do you want to purchase:
    1. Milk - $5
    2. Ice Cream - $4
    3. Bread - $6
    4. Frozen Pizza - $20
    99. I am done, checkout please
    Enter your selection: 1
    You have purchased Milk for $5
    
    What do you want to purchase:
    1. Milk - $5
    2. Ice Cream - $4
    3. Bread - $6
    4. Frozen Pizza - $20
    99. I am done, checkout please
    Enter your selection: 4
    You have purchased Frozen Pizza for $20.
    
    What do you want to purchase:
    1. Milk - $5
    2. Ice Cream - $4
    3. Bread - $6
    4. Frozen Pizza - $20
    99. I am done, checkout please
    Enter your selection: 99
    
    You have purchased the following items: 
    milk
    frozen pizza
    Please pay $25, thank you for your business.

 

Details

Date:
July 21, 2022
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights