American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5:30 PM – Intro To Python – Gamas

March 3, 2023 @ 5:30 pm - 6:30 pm

Homework
  1. Continue on Feb24_RobuxShoppingCart.py
  2. Add codes so your program can have these 2 features
    1. It will not allow to make purchase if you do not have enough robux
    2. You will be able to add 200 robux if you enter the right credit card number ABCD1234.
  3. If you do it correctly, it will do the following
  4. 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
    Enter your selection. Enter “done” when finish: 3
    You only have 300 robux remaining. Therefore you cannot purchase VIP Server for 500 robux.
    
    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
    Enter your selection. Enter “done” when finish: 4
    Enter your Credit Card number: asdfasd
    You have entered an invalid credit card number
    
    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
    Enter your selection. Enter “done” when finish: 4
    Enter your Credit Card number: ABCD1234
    Thank you for purchasing 200 Robux. You now have 500 robux remaining.

Details

Date:
March 3, 2023
Time:
5:30 pm - 6:30 pm
Event Categories:
,
Verified by MonsterInsights