Le 23/03/2018 à 13:43, Rustom Mody a écrit :
On Friday, March 23, 2018 at 5:46:56 PM UTC+5:30, ast wrote:
Hi
I found this way to put a large number in
a variable.
What stops you from entering the number on one single (v long) line?
It is not beautiful and not very readable. It is better to
have a fixed number of digits per line (eg 50)
import this
Beautiful is better than ugly.
Readability counts.
In case there is a religious commitment to PEP 8 dicta, the recommended
meditation is this line (also from PEP8):
"However, know when to be inconsistent -- sometimes style guide recommendations just
aren't applicable"
Yes I am using pylint which flags too long lines (80 characters)
--
https://mail.python.org/mailman/listinfo/python-list