This problem is in Contest(s) below:
Contest 1035:Python 2 阶段验收--测试题