python2与python3的区别

python2、3的区别
输入:
python2:raw_input()
python3:input()
输出:
python2:print
python3: print()
编码:正对的编码器默认编码方式
python2 --ascci
python3--utf-8
posted @ 2019-08-22 18:02  joker_you  阅读(146)  评论(0编辑  收藏  举报