Commit e9a241b8 by BellCodeEditor

auto save

parent 25abb509
Showing with 34 additions and 3 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳 i=0
print("玩家出拳:"+player) rt=[]
\ No newline at end of file while not i==3:
p=input("输入物品")
rt.append(p)
print(rt)
str=",".join(rt)
i=i+1
print(str)
\ No newline at end of file
import turtle
p=turtle.Pen()
p.pensize(8)
p.speed(10)
p.color("red")
for i in range(3):
p.fd(100)
p.lt(120)
p.fd(200)
p.lt(120)
p.hideturtle()
turtle.done()
\ No newline at end of file
i=0
i=0
it=[]
while not i==5:
c=int(input("输入数字"))
it.append(c)
it.sort()
i=i+1
print(max(it)-min(it))
print(pow(it[2],2))
\ 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