import random
a = random.randint(1,100)
j = 0
while j<5:
n = int(input("请输入100以内的整数:"))
if(n>a):
print("大了")
elif(n<a):
print("小了")
else:
print("恭喜你赢了")
j += 1
import random
a = random.randint(1,100)
j = 0
while j<5:
n = int(input("请输入100以内的整数:"))
if(n>a):
print("大了")
elif(n<a):
print("小了")
else:
print("恭喜你赢了")
j += 1