American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro To Python – Indo – Gamas

August 8, 2023 @ 7:00 pm - 8:00 pm

Homework
  1. Continue with your Jul22_RobuxShoppingCart.py.
  2. Add codes to handle “2. Buy The Samurai of the Gamers 1000 robux”, “3. Buy parrot 50 robux”.
  3. Also add code to do “4. Add more robux”
  4. Look at the example below
  5. Welcome to the Roblox Store! You have 2000 robux!
    
    1. Buy game pass 450 Robux
    2. Buy The Samurai of the Gamers 1000 Robux
    3. Buy parrot 50 Robux
    4. Add more Robux
    5. Exit
    Enter your selection: 1
    Game Pass bought for 450 Robux! You have 1550 robux left
    
    1. Buy game pass 450 Robux
    2. Buy The Samurai of the Gamers 1000 Robux
    3. Buy parrot 50 Robux
    4. Add more Robux
    5. Exit
    Enter your selection: 2
    The Samurai of the Gamers bought for 1000 Robux! You have 550 robux left
    
    1. Buy game pass 450 Robux
    2. Buy The Samurai of the Gamers 1000 Robux
    3. Buy parrot 50 Robux
    4. Add more Robux
    5. Exit
    Enter your selection: 3
    Parrot bought for 50 Robux! You have 500 robux left
    
    1. Buy game pass 450 Robux
    2. Buy The Samurai of the Gamers 1000 Robux
    3. Buy parrot 50 Robux
    4. Add more Robux
    5. Exit
    Enter your selection: 4
    Give me your credit card number: asdfadf
    Invalid credit card.
    
    1. Buy game pass 450 Robux
    2. Buy The Samurai of the Gamers 1000 Robux
    3. Buy parrot 50 Robux
    4. Add more Robux
    5. Exit
    Enter your selection: 4
    Give me your credit card number: 12341234
    Thanks for buying 200 robux! You have 700 robux remaining
    
    1. Buy game pass 450 Robux
    2. Buy The Samurai of the Gamers 1000 Robux
    3. Buy parrot 50 Robux
    4. Add more Robux
    5. Exit
    Enter your selection:

Details

Date:
August 8, 2023
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights