python all variables within a function have a global scope code example Example: global variables python global x x=1