首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

Python 入门教程 三 - Strings and Console Output

2013-09-15 
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)





热点排行