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 #939
print(f"{10000000:,}")
For Python > 3.6, f'{value:,}' will print a coma-separated float. Note that this syntax is locale unaware. (stackoverflow.com/questions/1823058/how-to-print-number-w...)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) August 10, 2021
print(f"{10000000:,}")
0,10000000
10,000,000
10.000.000
10000000,0
10000000.0
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅