python循环

#Author:LiPeijing

age_of_oldboy = 56
count = 0
while count < 3:
    gess_age = int(input("guess age:"))
    if gess_age == age_of_oldboy:
        print("yes, you got it")
        break
    elif gess_age > age_of_oldboy:
        print("think smaller")
    else:
        print("think bigger")
    count += 1
else:
    print("you have tired too many times..fuck off")

当前名称:python循环
地址分享:http://lszwz.com/article/jhehhj.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款