Computer Science, asked by hibbu10, 1 year ago

What is the maximum possible length of an identifier in python?

Answers

Answered by Anonymous
14

Identifiers and keywords from The Python Language Reference: Identifiers are unlimited in length. But you'll be violating PEP-8 most likely, which is not really cool: Limit all lines to a maximum of 79 characters.

Answered by mariospartan
5

Answer:

The maximum possible length of an identifier in Python is 79 characters.

Explanation:

Python is case sensitive, especially when dealing with the identifiers. It has a limit of 79 characters while writing or using identifiers in Python.

Unlikely, Python offers unlimited length for the identifiers.

But, PEP-8 structure restricts the user from violating the rules and gives the limit of 79 characters.

Python is a high level programming language. It is also dynamic type and Garbage collector.

Similar questions