Q&A Discussions
OMG! this is, well, Hard!
3 Votes
5 Answers[SOLVED] Problem w/ RobotBarman
-2 Votes
2 AnswersIf 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 AnswersHot today
Question
2 Votes
Wayss
0 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
overloading operators << >>
1 Votes
Project subjection
0 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes