Commit d4ae9c78 by BellCodeEditor

auto save

parent 7e3a2ff3
Showing with 47 additions and 1 deletions
a=int(input(""))
if a<60:
print("不及格")
elif 60<a<85:
print("良")
else:
print("优")
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
a=int(input(""))
b=a//60
c=int(a/60)%60
d=a%3600
print(b,c,d)
\ No newline at end of file
import turtle
turtle.speed(1)
turtle.begin_fill()
turtle.color("black")
turtle.fillcolor("red")
turtle.forward(180)
turtle.left(90)
turtle.forward(180)
turtle.goto(0,0)
turtle.end_fill()
turtle.begin_fill()
turtle.color("black")
turtle.fillcolor("yellow")
turtle.forward(180)
turtle.right(90)
turtle.forward(180)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
a=input("输入")
b=[]
for i in a:
if i not in"0123456789":
b.append(i)
print(b)
\ No newline at end of file
for a in range(1,1296):
b = a+4
for c in range(1,1296-a-b):
d = c*4
if (b-2==c*2) and (a+b+c+d== 1296 ) :
print(a,b,c,d)
\ 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