A = 5 def hah(): global A = 10 if __name__ =='__main__': print(A) hah() print(A)