while True: paper_count = input("请输入要下载的5K超清壁纸的数量:") if paper_count.isnumeric() and int(paper_count) > 0: paper_count = int(paper_count) break