This problem is in Contest(s) below:
Contest 5626:AK郦老师 Python入门组 第18课 课堂练习
Contest 5627:AK郦老师 Python入门组 第18课 家庭作业
Contest 5589:北海基础班 数组及复合复习作业