Question
What is the output of the function shown below?hex(15)
Answer: Option D
Was this answer helpful ?
The function hex() is used to convert the given argument into its hexadecimal representation, in lower case. Hence the output of the function hex(15) is 0xf.
Was this answer helpful ?
Submit Solution