This problem is in Contest(s) below:
Contest 1055:Python-第2章-程序设计入门-2024
Contest 1052:2024-WE 百题大战02:顺序结构浮点