American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Gamas

August 17, 2022 @ 6:00 pm - 7:00 pm

Homework
  1. Continued on Aug10_RobuxSystem.py
  2. Add code so you can keep track of all items purchased.
  3. Add code so when user exit, the program needs to print all items purchased and also print the remaining robux money.
  4. Also add ability to add more Robux when user enter “4”.
  5. Look at examples:
  6. 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: 1
    You purchased a Hat. You have 200 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: 2
    You purchased a Hair. You have 50 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: 4
    
    Enter Robux you want to add: 1000
    Now you have 1050 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: 5
    
    You have purchased the following items:
    1. Hat
    2. Hair
    Your remaining Robux balance is 1050 Robux.

Details

Date:
August 17, 2022
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights