1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 5-8 while ¹®À¸·Î º° ±×¸®±â¸¦ Çغ¸ÀÚ, 131ÂÊ # import turtle t = turtle.Turtle() t.shape("turtle") i = 0 while i < 5: # 5°³ÀÇ ¼±ºÐÀ» ±×¸®±â À§ÇÏ¿© 5ȸ ¹Ýº¹ t.forward(50) # 50 Çȼ¿ ±æÀÌÀÇ ¼±ºÐÀ» ±×¸°´Ù t.right(144) # 144µµ °ÅºÏÀ» ȸÀü½ÃŲ´Ù i = i + 1 # º¯¼ö i¸¦ 1¸¸Å Áõ°¡½ÃŲ´Ù turtle.done() | cs |