American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

5PM – Summer Intro to Python

June 21, 2021 @ 5:00 pm - 7:00 pm

Today we do
  1. We learned about the random module
  2. We learned how to design an 8 ball game
  3. We started  coding a hangman game
Homework

Work on Hangman game (if stuck don’t worry we’ll discuss next class)

  1. Create a forever loop
  2. If input is equal to secret_word, stop the loop
  3. otherwise print “<input> is not correct. please try again.”

If you do your homework properly, it will look like this

Guess a letter or the whole word: dragon
dragon is not correct. please try again

Guess a letter or the whole word: asdfadsfa
asdfadsfa is not correct. please try again.

Guess a letter or the whole word: hydra
Congratulation, you guessed correctly: hydra

 

If you want to change your nine lives symbol, the unicode link is below.

https://www.materialui.co/unicode-characters

If you have any questions you can email me at sohan@ayclogic.com

Details

Date:
June 21, 2021
Time:
5:00 pm - 7:00 pm
Event Category:
Verified by MonsterInsights