try: & except: Keyword in PYTHON - Error Handling #python #programming #coding

preview_player
Показать описание
Hello Dear Coders,

Handling the error while coding is one of the most crucial part of programming. In this short, we will see how we can use the try and except keyword for error handling with very simple example.

So stay tuned.....
Рекомендации по теме
Комментарии
Автор

Wise man said: "Keep trying and be exceptional"

accoladenft
Автор

Super annoying small window for this..

jana
Автор

in the line balance += deposit you need to put balance -= deposit to work

bogdy
Автор

Indentation Error is showed up,
except ValueError : (here)

s.m.f.s
Автор

I know this is explainatory for the basic try except but for better practice you should also put a "Cancel" option or you will be in a loop forever if the user is dumb...

hewholovesdeath
Автор

So apparently in Python all variable are global and not block scoped

denisraimondi