Commit c0d46dd2 by BellCodeEditor

save project

parent 6693f992
#include <bits/stdc++.h>
using namespace std;
int main()
{
int i;
for (i=1;i<10;i+=2)
{
cout<<i<<endl;
}
return 0;
}
\ No newline at end of file
import turtle
turtle.goto(0,0)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.fillcolor("black")
turtle.begin_fill()
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.end_fill()
turtle.penup()
turtle.goto(200,-200)
turtle.pendown()
turtle.left(90)
turtle.fillcolor("black")
turtle.begin_fill()
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
turtle.forward(10)
turtle.circle(-50)
turtle.pensize(10)
turtle.pencolor("black")
turtle.fillcolor("blue")
turtle.end_fill()
turtle.done
\ No newline at end of file
import turtle
turtle.penup()
turtle.pencolor("red")
turtle.goto(-100,100)
for i in range(5)
turtle.forward(200)
turtle.left(144)
turtle.end_fill()
turtle.down()
\ No newline at end of file
import turtle
turtle.goto(0,0)
turtle.fillcolor("red")
turtle.speed(1)
turtle.begin_fill()
turtle.forward(180)
turtle.left(90)
turtle.forward(180)
turtle.goto(0,0)
turtle.end_fill()
turtle.fillcolor("yellow")
turtle.speed(1)
turtle.begin_fill()
turtle.forward(180)
turtle.right(90)
turtle.forward(180)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
turtle.goto(0,0)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.penup()
turtle.goto(100,-80)
turtle.pendown()
turtle.penup()
turtle.fillcolor("red")
turtle.begin_fill()
turtle.circle(-10)
turtle.end_fill()
turtle.penup()
turtle.pendown()
turtle.penup()
turtle.forward(40)
turtle.fillcolor("red")
turtle.begin_fill()
turtle.circle(-10)
turtle.end_fill()
turtle.penup()
turtle.pendown()
turtle.penup()
turtle.forward(-80)
turtle.fillcolor("red")
turtle.begin_fill()
turtle.circle(-10)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
a=6
b=3
s=int(a)*int(b)
print("长面积:",s)
gjf="3.5.2"
print(python)
\ No newline at end of file
a=input("年龄:")
b=a*5+75
c=a*2+8
print(int(b),int(c))
\ No newline at end of file
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