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



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# µû¶óÇϸ砹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020)
# LAB 6-5 °ÅºÏÀÌ¿¡°Ô ¸·´ë ±×·¡ÇÁ¸¦ ±×¸®°Ô ÇÏÀÚ, 161ÂÊ
#
import turtle
 
def drawBar(height):
    t.begin_fill()
    t.left(90)
    t.forward(height)
    t.write(str(height), font = ('Times New Roman'16'bold'))
    t.right(90)
    t.forward(40)
    t.right(90)
    t.forward(height)
    t.left(90)
    t.end_fill()
 
data = [120563092201562398]
 
= turtle.Turtle()
t.color("blue")
t.fillcolor("red")
t.pensize(3)
 
for d in data:
    drawBar(d)
 
turtle.done()
cs

  µî·ÏÀÏ : 2022-02-21 [00:19] Á¶È¸ : 565 ´Ù¿î : 0   
 
¡â ÀÌÀü±Ûlab_6_6.py (±³Àç)
¡ä ´ÙÀ½±Ûlab_6_4.py (±³Àç)
Python for AI ½Ç½À°Ô½ÃÆÇ
¹øÈ£ ¨Ï Á¦ ¸ñ Á¶È¸ µî·ÏÀÏ
lAnaconda3 ¼³Ä¡
lColabTurtlePlus
l½Ç½À ¸ñ·Ï
lColab ½Ç½À
l½Ç½À ½Ã ÇлýµéÀÌ ÀÚÁÖÇÏ´Â ½Ç¼ö ¿¹µé
180 ¦¦❶ lcode_6_12.py (±³Àç) 653 02-21
179 ¦¦❶ llab_6_6.py (±³Àç) 568 02-21
178 ¦¦❶ llab_6_5.py (±³Àç) 565 02-21
177 ¦¦❶ llab_6_4.py (±³Àç) 573 02-21
176 ¦¦❶ llab_6_3.py (±³Àç) 645 02-21
175 ¦¦❶ lcode_6_11.py (±³Àç) 1042 02-21
174 ¦¦❶ lcode_6_10.py (±³Àç) 615 02-21
173    ¦¦❷ lcode_6_10_2.py (±³Àç) 550 02-21
172    ¦¦❷ lcode_6_10_1.py (±³Àç) 581 02-21
171 ¦¦❶ lcode_6_9.py (±³Àç) 537 02-21
170    ¦¦❷ lcode_6_9_2.py (±³Àç) 505 02-21
169    ¦¦❷ lcode_6_9_1.py (±³Àç) 528 02-21
168 ¦¦❶ lcode_6_8.py (±³Àç) 539 02-20
167    ¦¦❷ code_6_8.py (Ãß°¡) 494 04-04
166    ¦¦❷ lcode_6_8_2.py (±³Àç) 521 02-21
165    ¦¦❷ lcode_6_8_1.py (±³Àç) 487 02-21
164 ¦¦❶ llab_6_2.py (±³Àç) 613 02-20
163 ¦¦❶ llab_6_1.py (±³Àç) 560 02-20
162 ¦¦❶ lcode_6_7.py (±³Àç) 599 02-20
161    ¦¦❷ lcode_6_7_2.py (±³Àç) 593 02-20

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