일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 게임
- promise
- JS #프로젝트
- Import
- addEventListener
- object
- async
- 혼프
- prj
- execCommand
- webpack
- json
- 참고블로그
- https://m.blog.naver.com/tt2t2am1118/221010125300
- callback
- https://youtube.com/playlist?list=PLuHgQVnccGMA5836CvWfieEQy0T0ov6Jh&si=FTaYv8m21EhO-A2K
- Project
- ajax
- setTimeout()
- mysql
- 동기
- database
- eport
- db
- slow and steady
- 비동기
- js
- await
- sql
- Porject
- Today
- Total
목록📘Python/👩🏫class (13)
C-log
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/wDN6b/btsvDhZmCAD/qw6POYT0ZdrBawPYza4J01/img.webp)
복습을 하자 #make to turtle shape import turtle t =turtle.Turtle() t.shape("turtle") t.up() #ready to drawing #new turtle position t.goto(-200,-50)#get drawing t.down() t.circle(20) #make a fist Circle #make a line t.forward(100) t.right(-90) #turn to turtle t.forward(100) t.right(90) #turn to turtle t.forward(100) t.right(90) #turn to turtle t.forward(100) t.right(-90) #turn to turtle t.forward(100)..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/lLAh3/btsugiyAS1t/W0EfiYoefsaYkEGq4KKZB0/img.webp)
#과제 제출 할 때 꼭 주석 처리하기. 터틀 그래픽 활용 터틀 그래픽을 통해서 다양한 도형들을 만들어 보자. import turle import turtle t =turtle.Turtle() t.shape("turtle") 우리가 터틀 그래픽을 사용하려면 위의 코드를 기본적으로 사용해야한다. shape()에는 다양한 모양이 존재한다. 아래 표를 살펴보자. t.forward(), right(), left() import turtle t =turtle.Turtle() t.shape("turtle") t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) forward()는..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/qVHHi/btstShLH59C/44B5cfRatlfYDpdrgd3jsk/img.webp)
변수 : 형변환 x = "3" print(int(x)) y = "3.0" print(float(y)) x = 10 print(str(x)) y = 10.0 print(str(y)) a = 100 b = 200 c = "300" d = "400" print(a + b) #300 print(float(a + b)) #300.0 print(b + int(c)) #500 print(str(b) + c) #200300 print(c + d) #300400 input name = input("input your name is ") print("my name is " + name) color = input("my favorit color is ") print("my favorit color is " + color) ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bCdBDN/btsteQuyUlm/mVreuIcpQoGbkOKg9kSly0/img.webp)
test import turtle package import turtle t = turtle.Turtle() t.color("blue") t.goto(100,50) t.circle(50) print to variable #variable print a = "Python" b = 10 print(a) print(b) data type #data type print("data type") print(7+7) print('7'+"7") #str -> array print("\nstr -> array") msg = "Hello Python" print(msg[0]) print(msg[6:8]) print(msg[11]) #n print(msg[-1]) #n print(msg[2:5]) #llo [Python t..