File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -290,19 +290,19 @@ This one will run since `year_of_birth` is optional and will default to `None`.
290
290
291
291
</opt >
292
292
293
- <opt text =" <code>name_initials(last_name = 'Grant', year_of_birth = 1987 , first_name = 'Cameron')</code> " >
293
+ <opt text =" <code>name_initials(last_name = 'Grant', year_of_birth = 1977 , first_name = 'Cameron')</code> " >
294
294
295
295
Since we are defining our arguments with their names and values, this one will result in an output of ` CG1987 ` .
296
296
297
297
</opt >
298
298
299
- <opt text =" <code>name_initials('Cameron', 1987 , 'Grant')</code> " correct =" true " >
299
+ <opt text =" <code>name_initials('Cameron', 1977 , 'Grant')</code> " correct =" true " >
300
300
301
301
This will result in an error since the argument values are not in the defined order and they are not defined with the argument names.
302
302
303
303
</opt >
304
304
305
- <opt text =" <code>name_initials('Cameron', 'Grant', 1987 )</code> " >
305
+ <opt text =" <code>name_initials('Cameron', 'Grant', 1977 )</code> " >
306
306
307
307
This function calls the arguments in the same order they were defined in. The output is ` CG1987 ` .
308
308
You can’t perform that action at this time.
0 commit comments