读书人

Python 入门教程 三 - Strings and Co

发布时间: 2013-09-15 19:58:13 作者: rapoo

Python 入门教程 3 ---- Strings and Console Output


第一节

1 Python里面还有一种好的数据类型是String

2 一个String是通过'' 或者 ""包成的串

3 设置变量brian值为"Always look on the bright side of life!"

   """Declare and assign your variable on line 4,   then call your method on line 5!"""   pi = 3.14   print str(pi)





读书人网 >perl python

热点推荐