Привет! Продолжаем!

Section 4: Functions and Exceptions (28%)

PCEP-30-02 4.1 – Decompose the code using functions


PCEP-30-02 4.2 – Organize interaction between the function and its environment


PCEP-30-02 4.3 – Python Built-In Exceptions Hierarchy


PCEP-30-02 4.4 – Basics of Python Exception Handling

  • try-except / the try-except Exception - Errors and Exceptions
  • ordering the except branches
  • propagating exceptions through function boundaries
  • delegating responsibility for handling exceptions