Commit 18ded28d by BellCodeEditor

auto save

parent 1c7363c1
# name=['Jonh', 'Sam', 'Lily', 'Anna', 'Daming', 'Helen']
# name[2]="Nina"
# print(name)
# name.insert(5,"Sally")
# print(name)
# name.pop(3)
# print(name)
name=['Jonh', 'Sam', 'Nina', 'Daming', 'Sally', 'Helen']
a=['XiaoLi','Qiang','Neo']
name.extend(a)
print(name)
c=name[2:7]
print(c)
......@@ -50,7 +50,7 @@ houyi = Player("射手", "后羿")
yase = Hero("垭瑟")
while True:
print('-'*30)
a=input("请选择技能:1攻击/2治疗")
choise=input("请选择技能:1攻击/2治疗")
if int(a)==1:
houyi.combat(yase)
elif int(a)==2:
......
print(range(1,11,3))
print(range(1,11,3))
\ No newline at end of file
++ "b/\350\200\214\346\210\221\347\273\225\345\244\232"
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