0

How can I change a global variable within a function outside of function

I am referencing to a global variable inside a function where I already have declared the global variable with global keyword and I am later changing its value but the value is not changing. Any idea as to what could the possible reason be?

19th Jun 2020, 4:39 PM
Mostapha Amenchar
Mostapha Amenchar - avatar
4 Antworten
+ 6
Please use appropriate tags for language, so that people don't have to guess this. Thanks!
19th Jun 2020, 4:54 PM
Lothar
Lothar - avatar
+ 2
What is your question so?
19th Jun 2020, 4:43 PM
Ptar*
Ptar* - avatar