摘要: print函数:(Python3中print为一个函数,必须用括号括起来;Python2中print为class) Python 2 的 print 声明已经被 print() 函数取代了,这意味着我们必须包装我们想打印在小括号中的对象。 Python 2 1 2 3 4 print 'Python 阅读全文
posted @ 2019-04-07 17:50 Rollo|St 阅读(339) 评论(0) 推荐(0) 编辑
摘要: print函数:(Python3中print为一个函数,必须用括号括起来;Python2中print为class) Python 2 的 print 声明已经被 print() 函数取代了,这意味着我们必须包装我们想打印在小括号中的对象。 Python 2 1 2 3 4 print 'Python 阅读全文
posted @ 2019-04-07 17:48 Rollo|St 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 人生苦短,python当歌 阅读全文
posted @ 2019-04-07 17:46 Rollo|St 阅读(93) 评论(0) 推荐(0) 编辑