American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Gamas

March 1, 2022 @ 6:00 pm - 7:00 pm

Homework
  1. If you did not do the homework last week, please do it.
  2. Continue with Mar1_RobuxShoppingCart.py
  3. Add code to make sure user has enough robux before making purchase. If user does not have enough Robux, then it will print
    1. You only have 50 robux remaining. Therefore you cannot purchase <item_name> for <item_price> robux.
  4. Add code to make sure when user select “4. Add more robux”, you ask user how much Robux they want to add and add it into the robux balance
  5. Welcome to Robux Bank, you have 300 robux in the beginning.
    
    What do you want to do: 
    1. Buy hat 100 Robux
    2. Buy hair 150 Robux
    3. VIP Server 500 Robux
    4. Add more Robux
    5. Exit
    Enter your selection:4
    
    ADD MORE ROBUX
    How much robux you want to add: 1000
    Now you have 1300 robux remaining.
    
    What do you want to do: 
    1. Buy hat 100 Robux
    2. Buy hair 150 Robux
    3. VIP Server 500 Robux
    4. Add more Robux
    5. Exit
    Enter your selection:

Details

Date:
March 1, 2022
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights