Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to define a constant in python

You can't define a constant in Python unlike in other language, hence you can 
just make the variable all CAPS and add a comment using '#' saying that this is 
a constant variable.
 
PREVIOUS NEXT
Tagged: #define #constant #python
ADD COMMENT
Topic
Name
7+4 =