DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+2 =
Submit