Python> 3.14_1592_6535_8972> PEP515 (Python v3.6 or later possible writing style)

Operating environment


Xeon E5-2620 v4 (8 cores) x 2
32GB RAM
CentOS 6.8 (64bit)
openmpi-1.8.x86_64 and its-devel
mpich.x86_64 3.1-5.el6 and its-devel
gcc version 4.4.7 (And gfortran)
NCAR Command Language Version 6.3.0
WRF v3.7.Use 1.
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) 
Python 3.6.0 on virtualenv

Writing style that is possible since Python 3.6.

pi = 3.14_1592_6535
print(pi)

https://www.python.org/dev/peps/pep-0515/

This is possible with ("") instead of ("_") in Fortran77, not Fortran90](http://qiita.com/7of9/items/37217f32425594f0e89d#comment-6de849fdc853ec345169) or Java. And possible I have exchanged information.

It was also available in Python.

I think it is effective when you definitely want to handle numbers with long effective digits.

Recommended Posts

Python> 3.14_1592_6535_8972> PEP515 (Python v3.6 or later possible writing style)
Python 3.4 or later standard pip
Ruby's `` like Python. 2.6 or later
Blender 2.82 or later + python development environment notes
python> coding guide> PEP 0008 --Style Guide for Python Code
[Python coding standard] PEP 8 vs Google Style
Run pip install on MacOS Python 3.7 or later
Little-known Python language specification (compatible with Python 3.4 or later)
Basic Python writing
[Python] Let's remember the new writing style after pip10