Using bigger numbers#
As of python 3.6
using bigger numbers is easier:
>>> 1_000_000
Is the same as
>>> 1000000
Purely a cosmetic change and underscores are ignored by python, but makes it easier to read
2017-09-22
Python
As of python 3.6
using bigger numbers is easier:
>>> 1_000_000
Is the same as
>>> 1000000
Purely a cosmetic change and underscores are ignored by python, but makes it easier to read
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
n | Next page |
p | Previous page |
s | Search |