猜年龄,限3次
# -*— coding:encoding utf-8 -*-
# author sue
L= 18
count=0
while count<3:
old = int(input("input old:"))
count += 1
if old==L:
print("clevel")
break
elif count<3 and old<L:
print("bigger")
elif count<3 and old>L:
print("smaller")
else:
print("ben,")

浙公网安备 33010602011771号