+ 3

what is the maximum number of letters that we SHOULD use in one line ?

7th May 2019, 4:41 PM
marsman
marsman - avatar
6 Respuestas
+ 3
according to PEP-8 : lines shouldn't be longer than 80 characters https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2483/
25th May 2019, 12:06 PM
marsman
marsman - avatar
+ 6
PEP-8 says 79 characters per line https://www.python.org/dev/peps/pep-0008/#maximum-line-length
7th May 2019, 4:53 PM
Anna
Anna - avatar
+ 4
no limit as far as I know
7th May 2019, 4:42 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
LIMITLESS. Note: Please dont make it so long that, your file will be of more than GBs and TBs.
7th May 2019, 4:49 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 3
I like the 99 characters laid out in PEP8 better (determined as okay, if the team agrees on it). 79 characters feels too short and I hate splitting expressions in several lines. Makes them hard to read.
7th May 2019, 5:21 PM
Thoq!
Thoq! - avatar
+ 2
80 should be in python
25th May 2019, 11:47 AM
sanudking
sanudking - avatar