- A SyntaxError
- B TypeError
- C ValueError
- D NameError
- Share this MCQ
Answer:
C
Share this MCQ
ValueError
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Input In [1], inClick me to Read more Question & Answer of Python Errors and Exceptions Handling() ----> 1 a = int('hello') ValueError: invalid literal for int() with base 10: 'hello' |
Share this MCQ