1
00:00:00,600 --> 00:00:07,500
So this function here that we built in the previous lecture accepted an arbitrary number of non keyword

2
00:00:07,530 --> 00:00:10,860
arguments, for keyword arguments

3
00:00:10,860 --> 00:00:20,640
you have to add another asterisk, two asterisks and then pass a variable name, but kwargs is a convention.

4
00:00:20,730 --> 00:00:23,340
So please use that even though you don't have to.

5
00:00:23,540 --> 00:00:30,240
And then see what kwargs is which stands for key word args.

6
00:00:30,250 --> 00:00:38,760
If we try to call the function there we'll get an error because this is about a function with

7
00:00:38,760 --> 00:00:42,350
an arbitrary number of keyword arguments only.

8
00:00:43,080 --> 00:00:47,120
Therefore all these arguments have to be named arguments.

9
00:00:47,160 --> 00:00:55,860
So keyword arguments having the keyword, the arguments name, B and C like that and execute.

10
00:00:56,940 --> 00:01:05,720
And you get a dictionary. The dictionary will have items where each key will be the name of the arguments

11
00:01:06,050 --> 00:01:12,120
that you use to when you called the function and the value will be the value of that argument.

12
00:01:12,230 --> 00:01:18,110
Functions with an arbitrary number of keyword arguments are more readily used than functions with an

13
00:01:18,140 --> 00:01:25,010
arbitrary number of known keyword arguments 
such as a print function like I told you earlier where you

14
00:01:25,010 --> 00:01:29,640
can just pass as many arguments without a keyword.

15
00:01:29,690 --> 00:01:30,470
So there you have it.

