PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Support
Please support this website.
Visit the Amazon using this affiliate link
. There won't be any difference in your purchage, we will get some commission for every purchase you make.
Advertise with us
Python Multiple Choice Questions
What is the value of x if x = math.ldexp(0.5, 1)?
A. 1
B. 2.0
C. 0.5
D. none of the mentioned
Show Answer
Next Question
Correct Answer:
D
Explanation: The value returned by ldexp(x, y) is x * (2 ** y). In the current case x is 1.0.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap