how to use variable created in a function python code example Example: global variables python global x x=1