how to access global variable inside the function code example Example: global variables python global x x=1