QDING-5 to create ex2.py