F&A Diskussionen
OMG! this is, well, Hard!
3 Stimmen
5 Antworten[SOLVED] Problem w/ RobotBarman
-2 Stimmen
2 AntwortenIf 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 Stimmen
2 AntwortenHeute heiß
How to do a responsive page?
1 Votes
Running a python code
1 Votes
How create a new language ?
0 Votes
Ai in future
1 Votes
Hola
0 Votes
How To Enable Disable Divs?
0 Votes
Beginner question
0 Votes