Á¤¼ºÈÆ
    code_6_8.py (±³Àç)
  http://itsys.hansung.ac.kr/cgi-bin/onlineTest/viewpy4AI/onlinePy4AI.cgi?source=src/py/Ch06/code_6_8.py



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
def print_counter():
    print('counter =', counter)  # ÇÔ¼ö ³»ºÎÀÇ counter °ª
 
 
counter = 100
print_counter()
print('counter =', counter)      # ÇÔ¼ö ¿ÜºÎÀÇ counter °ª
 
######################################################
 
 
def print_counter():
    counter = 200
    print('counter =', counter)  # ÇÔ¼ö ³»ºÎÀÇ counter °ª
 
 
counter = 100
print_counter()
print('counter =', counter)      # ÇÔ¼ö ¿ÜºÎÀÇ counter °ª
cs

  µî·ÏÀÏ : 2022-02-20 [23:58] Á¶È¸ : 765 ´Ù¿î : 0   
 
¡â ÀÌÀü±Ûcode_6_9_1.py (±³Àç)
¡ä ´ÙÀ½±Ûcode_6_8.py (Ãß°¡)
Python for AI ½Ç½À°Ô½ÃÆÇ
¹øÈ£ ¨Ï Á¦ ¸ñ Á¶È¸ µî·ÏÀÏ
lAnaconda3 ¼³Ä¡
lColabTurtlePlus
l½Ç½À ¸ñ·Ï
lColab ½Ç½À
l½Ç½À ½Ã ÇлýµéÀÌ ÀÚÁÖÇÏ´Â ½Ç¼ö ¿¹µé
181 ¦¦❶ llab_6_7.py (±³Àç) 963 02-21
180 ¦¦❶ lcode_6_12.py (±³Àç) 938 02-21
179 ¦¦❶ llab_6_6.py (±³Àç) 848 02-21
178 ¦¦❶ llab_6_5.py (±³Àç) 809 02-21
177 ¦¦❶ llab_6_4.py (±³Àç) 871 02-21
176 ¦¦❶ llab_6_3.py (±³Àç) 957 02-21
175 ¦¦❶ lcode_6_11.py (±³Àç) 1338 02-21
174 ¦¦❶ lcode_6_10.py (±³Àç) 871 02-21
173    ¦¦❷ lcode_6_10_2.py (±³Àç) 782 02-21
172    ¦¦❷ lcode_6_10_1.py (±³Àç) 806 02-21
171 ¦¦❶ lcode_6_9.py (±³Àç) 765 02-21
170    ¦¦❷ lcode_6_9_2.py (±³Àç) 714 02-21
169    ¦¦❷ lcode_6_9_1.py (±³Àç) 761 02-21
168 ¦¦❶ lcode_6_8.py (±³Àç) 765 02-20
167    ¦¦❷ code_6_8.py (Ãß°¡) 714 04-04
166    ¦¦❷ lcode_6_8_2.py (±³Àç) 750 02-21
165    ¦¦❷ lcode_6_8_1.py (±³Àç) 732 02-21
164 ¦¦❶ llab_6_2.py (±³Àç) 869 02-20
163 ¦¦❶ llab_6_1.py (±³Àç) 835 02-20
162 ¦¦❶ lcode_6_7.py (±³Àç) 918 02-20

[1] [Prev]-[11][12][13][14][15][16][17][18][19][20]