Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuiteDiscussions Q&R
Spam Eggs?
0 Vote
5 RéponsesSuggestion
2 Votes
2 RéponsesWhat are logical errors?
2 Votes
4 RéponsesIf 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 Votes
2 Réponsescan you help me?
0 Vote
2 RéponsesAujourd'hui en vedette
Questions
1 Votes
Remove from a slice of a list
1 Votes
HTML CSS - Filter: brightness()
0 Votes
Why it's giving error
1 Votes
Questions
0 Votes
python courses
0 Votes
String methods
1 Votes