I am making a maze generator in python(pygame) and want to get the size of the maze from the user. Can I assign this value to a “variable” in the constants module since it will stay this way until the program is done running?
Since I am unaware of any const keyword like in c/c++ I’m sure this would work regardless but I am asking in the context of best coding practice. Thanks!
New contributor
Jace – is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.