can global variables be used inside functions python code example Example: global variables python global x x=1