Use the turtle module in Python to draw two lambs

little bottle
Release: 2019-04-08 17:03:50
forward
3680 people have browsed it

In the past two days, I saw an interesting turtle library in a public account. Let’s learn about it today.

turtle.circle(radius, extent=None, steps=None)

Description: Draw a circle with a given radius

Parameters:

radius( Radius); The radius is positive (negative), which means the center of the circle is to the left (right) of the brush to draw a circle

extent(radians) (optional);

steps (optional) (make the radius as radius The regular polygon inscribed in the circle, the number of sides of the polygon is steps)

radius > 0, draw the circle counterclockwise

radius

extent > 0, take the circle in the positive direction

extent

Use the turtle module in Python to draw two lambsAchieve the effect


【Recommended Course: Python Video Tutorial

The above is the detailed content of Use the turtle module in Python to draw two lambs. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!