Technology Learning

导航

2013年7月31日

python 核心编程课后练习(chapter 2)

摘要: 2-41 #2-4(a)2 print "enter a string"3 4 inputstring = raw_input()5 6 print"the string is: ", inputstringView Code 1 #2-4(b)2 print "enter a number:"3 4 num = raw_input()5 6 print "the number is: ", int(num)View Code 2-5#2-5(a)i = 0while i 0: 9 print "a po 阅读全文

posted @ 2013-07-31 20:36 浔阳渔夫 阅读(204) 评论(0) 推荐(0) 编辑