American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5:30 PM – Intro to Python – Abigail

June 15 @ 5:30 pm - 6:30 pm

Today We

  1. We finished the Kaleido Spiral Project.
  2. We started working on the Shopping Cart Project.

Homework

(Upload your homework into your Google Drive HW folder a day before the class starts)

  1. Find a second way to print out all the items in the shopping_cart list using a for loop. (You cannot use for i in range())
  2. Add a wallet feature:
    1. In the beginning of the loop you should ask the user how much money they have. This question should NOT be continuously asked over and over.
    2. Every time a user buys an item, the wallet money should decrease depending on the price of the item.
    3. If the user does not have enough money to purchase the item, it should print out “Insufficient Money.”

If you have any questions, email me at abigail@ayclogic.com

Details

Date:
June 15
Time:
5:30 pm - 6:30 pm
Event Categories:
,