shield.py

Created by jilsaint90

Created on March 20, 2020

670 Bytes

Ce script réalise le bouclier de Captain America.


import turtle
from turtle import*

turtle.speed(10)
turtle.up()
turtle.goto(0,-20)
turtle.down()
turtle.color("blue")
turtle.width(20)
turtle.circle(20)
turtle.up()
turtle.goto(0,-40)
turtle.down()
turtle.color("red")
turtle.circle(40)
turtle.up()
turtle.goto(0,-60)
turtle.down()
turtle.color("white")
turtle.circle(60)
turtle.up()
turtle.goto(0,-80)
turtle.down()
turtle.color("red")
turtle.circle(80)
turtle.up()
turtle.goto(0,-90)
turtle.down()
turtle.width(2)
turtle.color("black")
turtle.circle(90)
turtle.up()
turtle.goto(-20,0)
turtle.down()
turtle.width(20)
turtle.color("grey")
c=2
u=20
right(20)
for k in range(5):
    forward(c*u)
    left(144)

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.