Sail E0 Webinar
Question
The output of the two codes shown below is the same. State whether this statement is true or false.bin((2**16)-1) '{}'.format(bin((2**16)-1))
Options:
A .  True
B .  False
C .  Both I and II
D .  Only I
Answer: Option A


The output of both of the codes shown above is '0b1111111111111111'. Hence the statement is true.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers