import turtle, turtle is a graphical library used to carry out drawing commands., bob = turtle.Turtle(), You can give your drawing tool a name like Tim or Jane or even my_turtle, but in this case, bob., bob.right(90), When you run this command the turtle will turn right by ninety degrees., bob.forward(100), When you run this command the turtle will go forward by a hundred units., bob.left(90), When you run this command the turtle will turn left by ninety degrees., bob.backward(100), When you run this command the turtle will move backward by a hundred units., bob.goto(100,100), You’ve drawn a line from your current position to the point (100,100) on the screen.

Python turtle Moving the Turtle

Phong cách trực quan

Hiển thị tất cả

Cài đặt hoạt động

Bảng xếp hạng

Chuyển đổi mẫu

Bạn có muốn khôi phục tự động lưu: không?