Python - Exception Handling Fundamentals
What will happen when this code runs?
try:
value = int('abc')
except ValueError:
print('Value error caught')try:
value = int('abc')
except ValueError:
print('Value error caught')15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions