Обсуждения
exeption finally
1 голос
3 ответовException handling
2 голосов
2 ответовWhat is the problem?
1 голос
6 ответовWhat is my syntax error?
1 голос
8 ответовjava multiple exception
0 голосов
1 ответjava Exception
2 голосов
3 ответовHow fix the error
3 голосов
9 ответовIf except can handle common errors very well, doesn't that make the use of raise redundant inside of a try-except block?
For example:
try:
print( 5 / 0 )
except ZeroDivisionError:
raise ValueError("An error occurred!")
What's the difference if we handle it this way:
try:
print( 5 / 0 )
except (ZeroDivisionError, ValueError):
print("An error occurred!")
3 голосов
2 ответовWhy using Exception e Only
3 голосов
2 ответовWhat is an exception
3 голосов
2 ответовTry/catch body
1 голос
1 ответdoes this code work for python 2.7
0 голосов
4 ответовwhat is try:? where can it be used?
0 голосов
4 ответовHaving error with sleep method!!!
0 голосов
4 ответовАктуальное сегодня
Guys help please
1 Votes
Python question
2 Votes
Front-end vs Full-stack
1 Votes
Python
1 Votes
Are websites hackable?
1 Votes
About our Capstone product "Ecocambio" We don't know how to code and how electronics would connect.
0 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes
TICTACTOE
0 Votes