functions ll, errors

0.0(0)
studied byStudied by 0 people
0.0(0)
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:06 PM on 1/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

4 Terms

1
New cards

*args

we can use the wildcard or * notation to write functions that accept any number of arguments

2
New cards

**kwargs

we can use ** notation to write functions that accept any number of keyword arguments

3
New cards

order of parameters

(parameters, args, default parameters, *kwargs)

4
New cards

raising exceptions

we can raise our own exceptions (force them to happen) whenever we want, using the raise keyword