1
00:00:00,900 --> 00:00:09,830
Hello and welcome to this live shot of our cause by Thorne functions examine function that returns a

2
00:00:09,830 --> 00:00:12,890
value according to its argument.

3
00:00:12,920 --> 00:00:22,270
Def Rectangle area of images whites and length close parenthesis area equal.

4
00:00:22,320 --> 00:00:31,820
Multiply by let's return area def Rectangle area of ambulances six and the nine close but instances

5
00:00:31,860 --> 00:00:33,910
result would be fifty four.

6
00:00:34,200 --> 00:00:43,080
Def rectangular underscore area of member entities for under 5 closed but entities result would be twenty.

7
00:00:43,320 --> 00:00:54,020
Function that return is between value exemption Number 1 def is even having in parentheses x plus percentages

8
00:00:54,100 --> 00:00:54,620
column.

9
00:00:55,350 --> 00:00:58,170
If X module or 2 equals zero.

10
00:00:58,190 --> 00:01:03,510
Column return true else colon return False.

11
00:01:03,510 --> 00:01:14,340
Def is even of in parentheses then close parentheses result will be true function that return value

12
00:01:14,370 --> 00:01:15,520
in value.

13
00:01:15,520 --> 00:01:17,320
Example 2.

14
00:01:17,500 --> 00:01:27,370
Def is owed of in parentheses y close parentheses column if y Maduro to equal 0.

15
00:01:27,370 --> 00:01:38,780
Column return true X column return false def is owed following parenthesis it close parenthesis return

16
00:01:38,900 --> 00:01:40,430
false.

17
00:01:40,770 --> 00:01:52,680
Function that grants specific debt Example number 1 def count down of in parentheses x close parenthesis

18
00:01:52,700 --> 00:02:01,270
column while X more than zero Brent end X equals X minus 1.

19
00:02:01,620 --> 00:02:02,700
Brent stop.

20
00:02:02,700 --> 00:02:07,660
This is end closed double codes def count down.

21
00:02:07,720 --> 00:02:12,780
Brent this is too close parentheses result would be to one stop.

22
00:02:12,780 --> 00:02:16,260
This is the end exclamation mark.

23
00:02:16,260 --> 00:02:24,480
Types of functions that Brent specific that example to def is even or odd Bob in parentheses exclude

24
00:02:24,510 --> 00:02:28,650
but entities call if X modules to equal 0.

25
00:02:28,740 --> 00:02:33,630
Column return double code this number is even close.

26
00:02:33,630 --> 00:02:34,680
Double goes.

27
00:02:34,690 --> 00:02:39,640
Else column return of in codes.

28
00:02:39,700 --> 00:02:41,790
This number is close.

29
00:02:41,800 --> 00:02:50,980
Double codes def is even more or Bob in parenthesis to close parenthesis result will be number is even

30
00:02:51,940 --> 00:03:00,120
def is even road 7 result would be this number is 0 thank you for watching.

31
00:03:00,120 --> 00:03:01,930
Hope you enjoyed this lecture.

32
00:03:01,950 --> 00:03:03,660
See you next lecture.
