摘要:
插播一下,先了解一下Python的数据类型,Python现有的数据类型有好多,最重要的有列表、元组、字典 列表:我觉得可以对应java中的数组 list=['physics', 'chemistry', 1997, 2000]; nums=[1, 3, 5, 7, 8,... 阅读全文
posted @ 2015-06-01 23:03
nihousheng
阅读(250)
评论(1)
推荐(0)
摘要:
在Python中想要输出一句话,如下 1 a='hello world' 2 print a 3 //打印出的是hello world 4 5 print 'hello \n world' 6 //打印出的是 7 //hello 8 //world 9 print '''hello10 ... 阅读全文
posted @ 2015-06-01 22:16
nihousheng
阅读(888)
评论(0)
推荐(0)