Q1- describe the difference between global & Local variable in python programming with a simple example programme
Global variables are accessible inside and outside of functions. Local variables are only accessible inside the function.
global_var = 'foo'
def ex1():
local_var = 'bar'...