Friday, February 28, 2020

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 :
    1.  Reading 3.3 - Return Values of Functions
    2. Study for Upcoming Chapter 2Quiz 
    3. 3.3a valid triangle, 3.3b angle class, 3.3c side class

    1 comment:

    1. The information is extremely good and very helpful for me and keep sharing your blogs
      Home Tutors in Delhi | Home Tuition Service

      ReplyDelete

    Blog information move to Google Doc

    Hello All, Moving forward, please find all information about the class that you used to find on a live google doc agenda. The link is foun...