2
What is the output of the following code?
try:
x = int('abc')
except ValueError:
x = -1
print(x)Easy
What is the output of the following code?
try:
x = int('abc')
except ValueError:
x = -1
print(x)Log in to join the discussion.