can I use global variables in Python scripts? strange thing happens to me
I failed one text case when I submit my scripts, but when I run the same code using the same test case in run code mode, I got the correct answer.\nI used Pytho
I failed one text case when I submit my scripts, but when I run the same code using the same test case in `run code` mode, I got the correct answer.\nI used Python3, and used `global` to declare one global variable. The only reason I guess that leads to the strange results is leetcode somewhat limits using global variables in Python.
[]