American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

10 AM – Indo – Intro To Python – Gamas

February 18, 2023 @ 10:00 am - 11:00 am

Homework
  1. Continue on Feb18_Magic8BallV1.py. Change the code so it can the program can provide more answers:
    1. Yes
    2. No
    3. Maybe
    4. Absolutely
    5. No way
    6. I am not sure
  2. Create a new file Feb18_Magic8BallV2.py. Create another version of Magic8Ball program, this time use random.choice.
  3. Optional homework. But if you do it correctly, I will increase 10% of your 1st quiz grade. Improve Feb18_PasswordCreator.py
    1. 7% – Right now the code produce <action><animal><num>. The improvement will do the following, it can randomize the order:
      1. <animal><action><num>
      2. <num><action><animal>
      3. <action><num><animal>
    2. 3% – Randomize the upper() and title()
      1. <animal.title()><action.upper()><num>
      2. <animal.upper()><action.title()><num>

Details

Date:
February 18, 2023
Time:
10:00 am - 11:00 am
Event Categories:
,
Verified by MonsterInsights