« All Events
2 PM – Intro To Python – Gamas
August 7, 2021 @ 2:00 pm - 3:00 pm
Today We Do
- We reviewed the functions homework
- We do more function exercises
Homework
- Create a function according to below instruction
- # Create a new function convert_minute_to_second(minute)
# inside the function, multiply minute by 60 and return the multiplication result
# Ask user input from shell to enter “How many minutes: ”
# Call the function, use user input as parameter of the function
# capture the return value and print “There are <result> seconds in <user_input> minutes.
- Do Page 142. TRY IT YOURSELF 8-6 only.