首页 > 其他 > 详细

2017-07-21

时间:2017-07-21 23:52:17      阅读:312      评论:0      收藏:0      [点我收藏+]


1. variables 变量,存储数据以备后用

2.data type 数据类型,如数字,布尔类型等

  numbers,booleans,,,,

3.whitespace 我理解的就是tab,对于结构很重要 感觉是python没有分号 识别比较困难?所以结构很重要?

  important in python, separates statements

4.comments 注释

  single line:# 单行注释用#开头

  multiple lines:  ‘‘‘xxxxxxxx

          xxxxxxxx‘‘‘多行注释用多个‘包起来,但是在某些情况下 如 ‘‘‘ there‘s a gay.‘‘‘,应写成‘‘‘ there\‘s a gay. ‘‘‘

5.arithmetic operations

   +, -, *, /, **(2**3=8,即2的3次幂为8), %(求模)

...

to be continued

2017-07-21

原文:http://www.cnblogs.com/kingsleyking/p/7220022.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!