Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print numbers with underscores python

>>> x = 1_000_000
>>> print(f"{x:_}")
1_000_000
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #numbers #underscores #python
ADD COMMENT
Topic
Name
9+2 =