how to store a variable inside function outside of it in python code example Example: global variables python global x x=1