variable = 0 def plus(): global variable variable += 1 plus() print(variable)