Hello and welcome to this live shot of our cause by Thorne functions examine function that returns a
value according to its argument.
Def Rectangle area of images whites and length close parenthesis area equal.
Multiply by let's return area def Rectangle area of ambulances six and the nine close but instances
result would be fifty four.
Def rectangular underscore area of member entities for under 5 closed but entities result would be twenty.
Function that return is between value exemption Number 1 def is even having in parentheses x plus percentages
column.
If X module or 2 equals zero.
Column return true else colon return False.
Def is even of in parentheses then close parentheses result will be true function that return value
in value.
Example 2.
Def is owed of in parentheses y close parentheses column if y Maduro to equal 0.
Column return true X column return false def is owed following parenthesis it close parenthesis return
false.
Function that grants specific debt Example number 1 def count down of in parentheses x close parenthesis
column while X more than zero Brent end X equals X minus 1.
Brent stop.
This is end closed double codes def count down.
Brent this is too close parentheses result would be to one stop.
This is the end exclamation mark.
Types of functions that Brent specific that example to def is even or odd Bob in parentheses exclude
but entities call if X modules to equal 0.
Column return double code this number is even close.
Double goes.
Else column return of in codes.
This number is close.
Double codes def is even more or Bob in parenthesis to close parenthesis result will be number is even
def is even road 7 result would be this number is 0 thank you for watching.
Hope you enjoyed this lecture.
See you next lecture.