Commit 182380bd by BellCodeEditor

save project

parent 8600dea7
i=int(input("环境"))
if i%2==0:
print(0)
else:
print(1)
\ No newline at end of file
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("white")
pen.hideturtle()
pen.fillcolor('yellow')
pen.begin_fill()
pen.right(60)
for i in range(12):
pen.forward(50)
pen.left(120)
pen.forward(50)
pen.right(90)
pen.end_fill()
pen.fillcolor('red')
pen.begin_fill()
pen.left(45)
pen.circle(97,360,12)
pen.end_fill()
turtle.done()
\ No newline at end of file
from turtle import *
speed(1)
for i in range(4):
forward(1)
right(90)
forward(1)
setheading(-45)
fillcolor("red")
begin_fill()
for i in range(4):
forward(1)
right(90)
end_fill()
done()
from turtle import * a=int(input("湖广"))
pen=turtle.Pen() for i in range(1,a+1):
pen.fillcolor("white") print(i,end="")
pen.begin_fill()
for i in range(6):
pen.forward()
pen.right(150)
pen.end_fill()
turtle.done()
e=['a','b','c','d']
sum=0
for i in e:
for j in e:
for k in e:
if ((i!=j) and (j!=k) and (k!=i)):
print(i,j,k)
sum+=1
print(sum)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment