1 answer
(click or scroll down)
If you pass a string that does not contain a valid integer or floating point number into the int() or float() functions, what will happen?
Select one:
a.
Both functions will return 0
b.
Both functions will produce random output
c.
You will receive a ValueError exception at runtime
d.
Both functions will return the length of the input string
Bot GPT 3.5
answered
7 months ago
7 months ago