Tag:sea turtle

  • [Python tutorial] a turtle is actually cool (1. Move)

    Time:2022-4-28

    Preparation before class:Win7 ~ win10, MacOS, > = computers with Ubuntu 16.04Python idle above Python 3.1.1 1、 Tortoise?Tortoise is a drawing module, which can be imported in Python as follows: import turtle 1. Forward functionThis function causes the turtle to draw a linestraight lineX degree import turtle turtle.forward(100) 2. Left functionThis function makes turtlesTurn leftX […]