What is the maximum length of an identifier (name of a variable, function, etc.) in Python?

  • 63 characters
  • 79 characters
  • 99 characters
  • No fixed limit
In Python, the maximum length of an identifier (variable name, function name, etc.) is 79 characters. However, it's good practice to keep identifiers concise and meaningful.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *