def print_counter():
#global counter # #À» »èÁ¦ÇÏ°í ½ÇÇàÇØ º¼ °Í
#counter=200 # #À» »èÁ¦ÇÏ°í ½ÇÇàÇØ º¼ °Í
print('id(counter)=',id(counter))
print('counter = ',counter)
counter=100
print_counter()
print('counter = ',counter)
print('id(counter)=',id(counter))