Python 入门教程 三 - Strings and Console Output

Python 入门教程 3 ---- Strings and Console Output 第一节1 Python里面还有一种好的数据类型是String2

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)