Purpose of raise | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Purpose of raise

What is the additional information that a raise statement in the except block would give?

3rd Sep 2018, 7:54 PM
Lili Kaneva
1 Antwort
0
Pretty self-explanatory :) It raises an exception (error) if something happens (you decide what that something will be).
16th Sep 2018, 2:12 AM
Artem Khaiet
Artem Khaiet - avatar