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



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# µû¶óÇϸ砹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020)
# LAB 5-9 °£´ÜÇÑ ÄÚµå·Î ¸ÚÁø ³ª¼±Çü µµÇü ±×·Áº¸±â, 132ÂÊ
#
import turtle
 
= turtle.Turtle()
# °ÅºÏÀÌÀÇ ¼Óµµ´Â 0À¸·Î ¼³Á¤Çϸé ÃÖ´ë°¡ µÈ´Ù.
t.speed(0)
t.width(3)
 
length = 10                # Ãʱ⠼±ÀÇ ±æÀ̴ 10À¸·Î ÇÑ´Ù.
# while ¹Ýº¹¹®ÀÌ´Ù. ¼±ÀÇ ±æÀÌ°¡ 500º¸´Ù ÀÛÀ¸¸é ¹Ýº¹ÇÑ´Ù.
while length < 500:
    t.forward(length)   # length¸¸Å­ ÀüÁøÇÑ´Ù.
    t.right(89)         # 89µµ ¿À¸¥ÂÊÀ¸·Î È¸ÀüÇÑ´Ù.
    length += 5            # ¼±ÀÇ ±æÀ̸¦ 5¸¸Å­ Áõ°¡½ÃŲ´Ù.
turtle.done()
cs

  µî·ÏÀÏ : 2022-02-20 [23:03] Á¶È¸ : 919 ´Ù¿î : 0   
 
¡â ÀÌÀü±Ûlab_5_10.py (±³Àç)
¡ä ´ÙÀ½±Ûlab_5_8.py (±³Àç)
Python for AI ½Ç½À°Ô½ÃÆÇ
¹øÈ£ ¨Ï Á¦ ¸ñ Á¶È¸ µî·ÏÀÏ
lAnaconda3 ¼³Ä¡
lColabTurtlePlus
l½Ç½À ¸ñ·Ï
lColab ½Ç½À
l½Ç½À ½Ã ÇлýµéÀÌ ÀÚÁÖÇÏ´Â ½Ç¼ö ¿¹µé
121 ¦¦❶ lcode_5_9.py (±³Àç) 957 02-20
120 ¦¦❶ llab_5_13.py (±³Àç) 870 02-20
119 ¦¦❶ llab_5_12.py (±³Àç) 826 02-20
118 ¦¦❶ llab_5_11.py (±³Àç) 794 02-20
117 ¦¦❶ llab_5_10.py (±³Àç) 846 02-20
116 ¦¦❶ llab_5_9.py (±³Àç) 919 02-20
115 ¦¦❶ llab_5_8.py (±³Àç) 958 02-20
114 ¦¦❶ llab_5_7.py (±³Àç) 791 02-20
113 ¦¦❶ lcode_5_8.py (±³Àç) 758 02-20
112    ¦¦❷ lcode_5_8_2.py (±³Àç) 777 02-20
111    ¦¦❷ lcode_5_8_1.py (±³Àç) 779 02-20
110 ¦¦❶ llab_5_6.py (±³Àç) 728 02-20
109 ¦¦❶ lcode_5_7.py (±³Àç) 764 02-20
108 ¦¦❶ llab_5_5.py (±³Àç) 789 02-20
107 ¦¦❶ llab_5_4.py (±³Àç) 757 02-20
106 ¦¦❶ llab_5_3.py (±³Àç) 778 02-20
105 ¦¦❶ llab_5_2.py (±³Àç) 746 02-20
104 ¦¦❶ llab_5_1.py (±³Àç) 803 02-20
103 ¦¦❶ lcode_5_6.py (±³Àç) 786 02-20
102 ¦¦❶ lcode_5_5.py (±³Àç) 865 02-20

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