I am trying to figure out a way of declaring a variable whose value can not be changed in any way (static in c++), but in python3. Please let me know how.
1 Answer 1
there is no way of creating a const variable in python3, but there are some option and recommendation too, check the link below- how to set global const variables in python
answered Nov 19, 2017 at 4:41
Comments
lang-py
final
keyword. AFAIK there is no such thing in Python