📅  最后修改于: 2022-03-11 14:44:45.945000             🧑  作者: Mango
from random import *
def attack():
a=randint(0,6)
if a == 0:
print("up")
elif a == 1:
print("down")
elif a == 2:
print("right")
elif a== 3:
print("left")
elif a==4:
print("right roll")
elif a == 5:
print("left roll")
for i in range(0,100):
attack()