Jul-11-2019, 05:36 AM
Uchikago Wrote:I'm just experimenting alternative way to use global variableThe best way is not to update global variables from functions. On the other hand, global variables can be mutable objects such as dictionaries or lists. This way you don't need the global statement.