摘要:
1. python输入raw_input()函数。a = raw_input() #得到的是字符串a = int(raw_input()) #如果想得到int,只能这样如果输入特殊字符,比如\t \n等,会和输入一样输出,%r会输出\\t、\\n,%s会输出\t、\nView Code print "How old are you?"age = raw_input()print "How tall are you?"height = raw_input()print "How much do you weight?"weight = 阅读全文
posted @ 2013-03-15 22:33
赵乐ACM
阅读(877)
评论(0)
推荐(0)
浙公网安备 33010602011771号