摘要: #python3里面input默认接收到的事str类型,而python2里面却认为是int类型n=int(input('请输入想要第几个数')) #如果将int省去,python3中该程序将会报错a,b=0,1if n > 3: print(type(n)) print(type(3)) for i 阅读全文
posted @ 2016-09-19 22:28 black-bird 阅读(154) 评论(0) 推荐(0)