- This event has passed.
9AM – Intro to Python – Saagar
October 1, 2022 @ 9:00 am - 10:00 am
Today we did:
- Went into functions with no return values in detail: function header, function body, function definition, function call
- defining functions with no parameters or multiple parameters
- why functions are useful in reducing code duplication and hiding away complicated logic
- converting repetitive code into functions
Homework
In a file called FunctionsNoReturnValueHW.py, do the following:
- Copy codes from page 130 to 133.
- https://indo.ayclogic.com/list-inputs-if-and-else-loops-and-function/ number 4 to 6.
- Homework: 130, 131 (TRY IT YOURSELF), 132 (this is last week’s hw that I incorrectly assigned, extending due date to next class as well given it was difficult with no prior practice)