This problem is in Contest(s) below:
Contest 1056:Python-第3章-流程控制-2024
Contest 1053:2024-WE 百题大战03:分支结构