Lesson 3.3 - Return vs. Print
- Every function returns a value.
- As soon as your function returns a value, no code below this return is executed
- In Python, if you do not specify a return value it defaults to None type.
- A function's return value is commonly nested inside of other functions. For example:
- print( foo() )
- bar( foo( ) + 3 )
- foo( input('feed me a string' ) )
Due Friday, March 1 2019 :
- Reading 3.3 - Return Values of Functions
- Study for Upcoming Chapter 2Quiz
- 3.3a valid triangle, 3.3b angle class, 3.3c side class