This problem is in Contest(s) below:
Contest 1058:Python-第5章-组合数据类型-2024
Contest 1066:程序设计五星活动认证赛-2024
Contest 1054:2024-WE 百题大战04:循环初步