add python ex15 to ex31