This problem is in Contest(s) below:
Contest 1058:021初级-新手上路
Contest 1037:Python L1阶段 作业