Commit 468da08e by BellCodeEditor

auto save

parent 32d2de9b
a = [99,86,89,94,75,87,86,95]
q = max(a)
z = min(a)
a.remove(q)
a.remove(z)
s=sum(a)
w = s/6
print(q)
print(z)
print(w)
s="{1}的价格是{0}".format("35元","葡萄")
print(s)
\ No newline at end of file
# 这是悟空为花果山小猴做臂力测试的程序代码 import.turtle
# name=input('你叫啥名啊?') pen=turtle.Pen.
# power=int(input('你臂力多少啊?')) pen.color("yellow")
# list_hero=['猴三',10,'猴一',21,'猴五',22,'猴队长',29,'猴七',30] pen.circle(150)
# for i in range(len(list_hero)): turtle.done
# if i%2==1 and list_hero[i]>=power: \ No newline at end of file
# list_hero.insert(i-1,name)
# list_hero.insert(i,power)
# break
#print(list_hero)
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={"猴三":10,"猴一":21}
print(dict_hero)
print(dict_hero["猴一"])
dict_hero["猴一"]=32
dict_hero["猴三"]=25
\ No newline at end of file
print(46//8)
\ No newline at end of file
ssk=["一","二","三","四","五","六","七","八","九"]
while 1:
z=input("输入一个一到九之间的数")
print(ssk[z-1])
\ No newline at end of file
print(46//8)
\ 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