As Python updating to python 3.6, its performance is better than Python 2.x, which is
good news to every Python developer. I would like to write down new features of Python 3.x,
I hope it can help me remind the history of Python development.
1.Python 3.0
1.1 Print Function.
We need to add bracket when invoking the print() function in Python.
1.2 Views And Iterators Instead of List.
dict methods dict.keys(), dict.items(). dict.values() return views instead of lists. For example,
keys = d.keys(); keys.sort()
this no longer works. Use k = sorted(d) instead.
原文:http://www.cnblogs.com/zhuangzebo/p/6397152.html