American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

11 AM Python Level 1

December 14, 2019 @ 11:00 am - 12:00 pm

  1. We went over the starwars homework.
  2. We did more function exercises.
  3. Homework:
    1. Do “Try It Yourself” in page 142. Do only 8-6.
    2. Create a function with the following requirements
      1. Name the function “convert_miles_to_foot”.
      2. It take one parameter: “num_of_mile”.
      3. Inside the function take the “num_of_mile” parameter and convert it to foot. There are 5280 feet in a mile.
      4. Return the result.
      5. Call the function and print the result into the shell.
    3. Inside your Dec14_hangman.py.
      1. Continuously do the following
        1. Print the number of hearts symbol according to the lives.
        2. ask user “‘Guess a letter or the whole word: ‘

Details

Date:
December 14, 2019
Time:
11:00 am - 12:00 pm
Event Categories:
,