- This event has passed.
10 AM Python Level 1
December 14, 2019 @ 10:00 am - 11:00 am
- We went over Kaleido Spiral homework.
- We learn about modulus in Python.
- We enhanced Kaleido Spiral to alternate drawing circle and square using modulus.
- Homework:
- Functions on page 136 and 137.
- Functions on page 142 and 143.
- Create a function with the following requirements.
- Name the function “convert_miles_to_foot”.
- It take one parameter: “num_of_mile”.
- Inside the function take the “num_of_mile” parameter and convert it to foot. There are 5280 foot in a mile.
- Return the result.
- Call the function and print the result into the shell.
- Look at Oct12_Homework.py for your reference. This is very similar to convert_second_to_min(second) function.
- 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.