新网创想网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
import random
random_num = random.randint(0,100)
print('this number is:', random_num)
count = 0
while count < 5:
count += 1
number = int(input('please input your number:'))
if random_num == number:
print("congruation!you make correct!")
break
else:
print("你太笨了")