The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #855
print(round(round(3.14, 3), 2))
In the code snippet above, round() has no effect as the arguments (3 and 2) are bigger than the number of decimals of 3.14 . (w3schools.com/python/ref_func_round.asp)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) July 5, 2021
print(round(round(3.14, 3), 2))
3.14
3.1
3.140
3
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅