Sail E0 Webinar
Question


What is the value of the bool?


1.
bool is_int(789.54)
Options:
A .  True
B .  False
C .  1
D .  none of the mentioned
Answer: Option B

The given number is a double not an integer, so the function returns 0 which is boolean false.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers