Update part2/foundations2.py