Explain the concept of global variables in python with suitable example.
Example: global variable python
a = 0
def testFor():
global a
if(a == 0):
#run code
a = 0
def testFor():
global a
if(a == 0):
#run code