Á¤¼ºÈÆ
    ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹)
6-1.txt [2 KB]    



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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import turtle, winsound, time
 
t=turtle.Turtle()
s=turtle.Screen()
s.addshape('play_button.gif')
 
songs = ['Komorebi.wav''New_Land.wav''St_Francis.wav']
flags = winsound.SND_FILENAME| winsound.SND_ASYNC | winsound.SND_NODEFAULT
 
t.penup()
t.goto(-250,150)
t.shape('play_button.gif')
t.write('Komorebi¸¦ Ç÷¹ÀÌÇÏ·Á¸é K \nNew_Land¸¦ Ç÷¹ÀÌÇÏ·Á¸é N \nSt_Francis¸¦ Ç÷¹ÀÌÇÏ·Á¸é S¸¦ ÀԷ Çϼ¼¿ä.', font=('¹ÙÅÁ'20'bold'))
t.goto(0,0)
t.goto(-50,0)
 
def play_K() :
    winsound.PlaySound(songs[0], flags)
    t.goto(-50,0)
    t.setheading(0)
    while True:
        t.forward(100)
        t.left(180)
    
def play_N() :
    winsound.PlaySound(songs[1], flags)
    t.goto(-50,0)   
    t.setheading(0)    
    while True:
        t.forward(100)
        t.left(120)
        
def play_S() :
    winsound.PlaySound(songs[2], flags)
    t.goto(-50,0)  
    t.setheading(0)    
    while True:
        t.forward(100)
        t.left(90)
 
s.onkeypress(play_K, "K")
s.onkeypress(play_N, "N")
s.onkeypress(play_S, "S")
 
s.listen()
cs

  µî·ÏÀÏ : 2022-09-03 [17:11] Á¶È¸ : 388 ´Ù¿î : 98   
 
¡â ÀÌÀü±Û(½Ç½À 6) 6Àå ÅÍÆ² ±×·¡ÇȰú Űº¸µå À̺¥Æ® <½Ç½À>
¡ä ´ÙÀ½±Û°¡À§, ¹ÙÀ§, º¸ À̹ÌÁö
ÄÚµù ù°ÉÀ½(ºñ°ø´ë) ½Ç½À°Ô½ÃÆÇ
¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
52 (½Ç½À 9) 9Àå tkinter ´Ù¾çÇÑ À§Á¬ <½Ç½À>¨Õ ½Ç½À Á¤¼ºÈÆ 217 08-19
51 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 243 12-10
50 (½Ç½À 8) 8Àå tkinter À̺¥Æ® <½Ç½À>¨Õ ½Ç½À Á¤¼ºÈÆ 262 08-19
49 ¦¦❶ ¨è ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 273 09-03
48 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 248 09-03
47 ¦¦❶ Űº¸µå <c>¸¦ ´©¸£¸é °í¾çÀ̸¦ º¸¿©ÁÖ°í <d>¸¦ ´©¸£¸é °³¸¦ º¸¿©ÁÖ´Â ... °è¼Ó Á¤¼ºÈÆ 293 12-02
46 (½Ç½À 7) 7Àå tkinter ±âÃÊ <½Ç½À>¨Õ ½Ç½À Á¤¼ºÈÆ 456 08-19
45 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 331 09-03
44    ¦¦❷ ·Î±×ÀΠó¸®ÇÏ´Â ÇÁ·Î±×·¥ °è¼Ó Á¤¼ºÈÆ 335 11-25
43 (½Ç½À 6) 6Àå ÅÍÆ² ±×·¡ÇȰú Űº¸µå À̺¥Æ® <½Ç½À>¨Õ ½Ç½À Á¤¼ºÈÆ 451 08-19
42 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 388 09-03
41 ¦¦❶ °¡À§, ¹ÙÀ§, º¸ À̹ÌÁö¨Õ °è¼Ó Á¤¼ºÈÆ 538 11-11
40    ¦¦❷ »ç¿ëÀÚ°¡ IDLE ¿¡¼­ °¡À§/¹ÙÀ§/º¸¸¦ ¼±ÅÃÇÏ°Ô ÇÏ´Â ÇÁ·Î±×·¥ °è¼Ó Á¤¼ºÈÆ 391 11-18
39       ¦¦❸ »ç¿ëÀÚ°¡ ÅÍÆ² ±×·¡ÇÈ¿¡¼­ °¡À§/¹ÙÀ§/º¸¸¦ ¼±ÅÃÇÏ°Ô ÇÏ´Â ÇÁ·Î±×·¥ °è¼Ó Á¤¼ºÈÆ 387 11-18
38 (½Ç½À 5) 5Àå ÅÍÆ²¿¡¼­ ¸¶¿ì½º À̺¥Æ® ó¸®Çϱâ <½Ç½À>¨Õ ½Ç½À Á¤¼ºÈÆ 461 08-19

[1][2][3][4]