Question #939

What is the output of the code snippet below?
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...)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵