摘要: 一 Python 中的注释: ''' 由于编辑器的多样性,这里简单介绍pycharm: # >> 单行注释: 多行注释就是6个小点点,就是我们现在看到的左上角和左下角的三个小点 python中使用多行注释时,一定要使用双引号或者单引号, 且两种模式不要混用, 当有单个字符使用单引号时,注释时,一定要 阅读全文
posted @ 2017-11-14 03:25 修一 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 一 第一个hello world: print("hello world") // >> print() 是因为python3 不在支持print 直接输出, python2中是支持的 >> hello world 区别于java: public static void main(String[] 阅读全文
posted @ 2017-11-14 01:21 修一 阅读(278) 评论(0) 推荐(0) 编辑