American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

10 AM Python Level 1

December 14, 2019 @ 10:00 am - 11:00 am

  1. We went over Kaleido Spiral homework.
  2. We learn about modulus in Python.
  3. We enhanced Kaleido Spiral to alternate drawing circle and square using modulus.
  4. Homework:
    1. Functions on page 136 and 137.
    2. Functions on page 142 and 143.
    3. 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 foot in a mile.
      4. Return the result.
      5. Call the function and print the result into the shell.
      6. Look at Oct12_Homework.py for your reference. This is very similar to convert_second_to_min(second) function.
    4. If you do a very cool drawing with Turtle. I can give you 10% credit for your final exam. Try drawing like a house. Draw it in a grid paper first and then do it in Python.

Details

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