+ 5

How long can an identifier be in Python.?

Is there any restriction or we can take any length for identifier

11th Jan 2020, 6:05 AM
Saroj Patel
Saroj Patel - avatar
4 Réponses
+ 6
It is possible, but it goes against PEP8
11th Jan 2020, 6:50 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
+ 8
got it. Thanks
11th Jan 2020, 6:54 AM
Saroj Patel
Saroj Patel - avatar
+ 7
yeah but even i take more then that but it is showing valid
11th Jan 2020, 6:47 AM
Saroj Patel
Saroj Patel - avatar
+ 5
79 characters is the limit.
11th Jan 2020, 6:43 AM
Fernando Pozzetti
Fernando Pozzetti - avatar