随笔分类 -  python练习

猜数字Python实现
摘要:#coding=utf-8#需求:实现让用户不断的猜数字,但只给最多10次机会,猜玩三次提示用户是否继续,最后猜不对就退出程序nums1= 30count=0while(True): nums2= int(raw_input("please enter nums")) count+=1 if num 阅读全文

posted @ 2016-11-11 11:43 jackyu126 阅读(369) 评论(0) 推荐(0)

导航