摘要: age =30conut = 0for i in range(10): #print("conut is ",conut) if conut < 3: guess_unm= int(input("Enter age:")) if guess_unm == age: print("Bingo...") 阅读全文
posted @ 2016-10-21 17:02 痒乐多 阅读(144) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python# -*- coding: utf-8 -*-# Author:army.han'''#用while循环猜数age_laobi = 56conut = 0while conut<3: guess_age = int(input("guess age:")) 阅读全文
posted @ 2016-10-21 16:56 痒乐多 阅读(245) 评论(0) 推荐(0)