Commit 954b0f0d by BellCodeEditor

auto save

parent 647615c3
Showing with 35 additions and 20 deletions
chinese = int(input("请输入语文成绩"))
math = int(input("请输入数学成绩"))
english = int(input("请输入英语成绩"))
total = chinese + math + english
avg = total / 3
print("你的总分为:", total, "分,平均分为:", avg, "分")
\ No newline at end of file
a1 = int(input("请输入第一个人的体重:"))
b1 = input("请输入第一个人的名字:")
a2 = int(input("请输入第二个人的体重:"))
b2 = input("请输入第二个人的名字:")
a3 = int(input("请输入第三个人的体重:"))
b3 = input("请输入第三个人的名字:")
maximum = a1
m_name = b1
if a2 > maximum:
maximum = a2
m_name = b2
if a3 > maximum:
maximum = a3
m_name = b3
print("体重最重的人是:",m_name)
print("他的体重是:",maximum)
\ No newline at end of file
import turtle
turtle.penup()
turtle.goto(0,-50)
turtle.pendown()
turtle.circle(50)
turtle.penup()
turtle.goto(-50,0)
turtle.pendown()
turtle.forward(100)
turtle.
c=[]
while True:
a=int(input())
b=split(',')
for i in b:
i=int(i)
c=append(int())
sum=sum(c)
if (sum>60)=(sum>203):
print('ds')
else:
print('sdsfa')
\ 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