This problem is in Contest(s) below:
Contest 5315:AK郦老师 Python入门组 第12课 课堂练习