Question #934

What is the output of the code snippet below?
print(format(0.00001, "g"))

If -4 <= exp < p, the number is formatted with presentation type ā€˜fā€™ and precision p-1-exp. Otherwise, the number is formatted with presentation type ā€˜eā€™ and precision p-1! (python-reference.readthedocs.io/en/latest/docs/functions/...)


Comment on Disqus:

Question difficulty: šŸ”µšŸ”µšŸ”µšŸ”µšŸ”µ


Similar questions: