Sail E0 Webinar
Question
The output of the code shown below is:int('65.43')
Options:
A .  ImportError
B .  ValueError
C .  TypeError
D .  NameError
Answer: Option B


The snippet of code shown above results in a value error. This is because there is an invalid literal for int() with base 10: '65.43'.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers