我已经阅读了文档,但readlines(n)做了什么?通过readlines(n),我的意思是readlines(3)或任何其他数字.
当我运行readlines(3)时,它返回与readlines()相同的内容.
python python-2.7
python ×1
python-2.7 ×1