python 썸네일형 리스트형 파이썬 터틀 turtle 응용 파이썬 터틀파이썬에 대해 알아보다가 터틀이라는 모듈을 알게되어서 사용해봤습니다.조작키W 전진A 왼쪽으로D 오른쪽으로S 후진O 반지름50 원 그림R 초기화B 종료키보드 입력을 통해 터틀을 이용하게끔 만들어봤습니다. import turtle as t # ㅁㄴㅇㄻㄴㅇㄹ import keyboard t.shape('classic') # turtle, classic, triangle, circle 모양종류 t.speed(1) # fastest fast normal slow slowest 0 10 6 3 1 스피드 설정종류 t.fillcolor('red') t.begin_fill() while True:#making a loop if keyboard.is_pressed('a'): # a키를 누른다면 print(.. 이전 1 다음