PCEP-30-02 Extra Notes

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

1/4

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:10 AM on 9/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

5 Terms

1
New cards
  • The code put inside the try branch may not be fully executed.

  • KeyError may be raised when you try to access a nonexistent dictionary element.

  • An unhandled exception causes a program to terminate.


What is true about exceptions in Python?

2
New cards

before its first use

A function declaration must be completed ________ (the only exception applies to recursive functions0

3
New cards

shadow

It's technically possible to name a variable using an already existing function name, but it will ________ that function.

4
New cards

invoke

A function can _____ itself

5
New cards

None

When a function body contains no return expression statement, the function returns _______ implicitly.