Commit 1f1ea493 by BellCodeEditor

save project

parent 79e6daa9
Showing with 23 additions and 5 deletions
a = input("语文成绩:")
b = input("数学成绩:")
c = input("英语成绩:")
a = int(input("语文成绩:"))
b = int(input("数学成绩:"))
c = int(input("英语成绩:"))
d = a+b+c
e = d/3
print("你的总分为:"+c,"平均分为"+e)
\ No newline at end of file
print("你的总分为:"+c"分","平均分为"+e"分")
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(0,-50)
pen.pendown()
pen.circle(50)
pen.penup()
pen.goto(-50,0)
pen.pendown()
pen.forward(100)
pen.penup()
pen.goto(0,50)
pen.pendown()
pen.right(90)
pen.forward(100)
pen.hideturtle()
turtle.done()
\ 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