Update Part 3 to Python 3