为什么我的代码在文件中找不到输入编号,即使输入编号在文件中清晰可见?这是搜索文件中特定条目的代码: num2find = str(input("Enter a number to find: ")) test_file = open("testfile.txt", ...2024-05-14 已阅读: n次