American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM – Intro To Python

July 25, 2020 @ 1:00 pm - 2:00 pm

  1. We completed Magic8Ball program
  2. We started Hangman game
  3. Homework:
    1. In the July25_Hangman.py file that we did in the class do the following
    2. Create forever loop, and inside the forever loop do the following
      1. Print “Lives: <live_symbol * lives>”
      2. Get an input from user “Guess a letter or the whole word: “
      3. if user input is the same with variable “word” variable then break from the loop
    3. If you do your code properly, it will continuously print the lives and ask users like the following. In below example because the computer randomly selected the word “moon”, when user answer “moon”, the program will break from the loop.

Details

Date:
July 25, 2020
Time:
1:00 pm - 2:00 pm
Event Categories:
,