Commit 1e74d54c by BellCodeEditor

save project

parent 63a490e6
Showing with 54 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor('blue')
pen.penup()
pen.goto(0,-200)
pen.pendown()
pen.circle(200)
pen.penup()
pen.goto(-100,50)
pen.pendown()
pen.begin_fill()
pen.circle(20)
pen.end_fill()
pen.penup()
pen.forward(200)
pen.pendown()
pen.begin_fill()
pen.circle(20)
pen.end_fill()
pen.penup()
pen.goto(0,50)
pen.pendown()
pen.circle(-50,steps=3)
pen.penup()
pen.goto(-150,-70)
pen.pendown()
pen.goto(0,-170)
pen.goto(150,-70)
turtle.done()
\ No newline at end of file
Chinese=input('语文')
Math=input('数学')
English=input('英语')
a=''
score=int(Chinese)+int(Math)+int(English)
if score>=270:
a='优秀'
elif 270>score<240:
a='良好'
elif 240>score<180:
a='合格'
else:
a='不合格'
print(score)
print(a)
\ No newline at end of file
pai=3.14
a=input('请输入半径')
r=int(a)
C=pai*r*2
S=pai*r*r
print(C)
print(S)
\ 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