标签:for循环次数控制
#/usr/bin/env python number=19 for i in range(3): number1 = int(input("please input your number:")) if number1 == number: #print("you put the number is true") break elif number1 > number: print("you put the number is bigger") else: print("you put the number is smaller") if number1 == number: print("you put the number is true") else: print("you put the number times is too many")
标签:for循环次数控制
原文地址:http://11273036.blog.51cto.com/11263036/1868738