ch2.py