American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

Wed 5pm Intro To Python – Bill

March 9, 2022 @ 5:00 pm - 6:00 pm

Today We:
  1. Went over the Robux System Homework
  2. Used a function to reduce code duplication
Your HW:
  1. Make it so when the user enters 3, you use the purchase_item function instead of the if else chunk of code
  2. Make it so when the user exits, the list of items is printed out with the numbering
    • Ex:
      1. Hat
      2. Hair
      3. Hat
  3. You will have to look at old code we did (Hint: use a for loop with an index)

Details

Date:
March 9, 2022
Time:
5:00 pm - 6:00 pm
Verified by MonsterInsights