接下來在進階一點點,如果我想要打印文件的前三行,怎麼做? #!/usr/bin/env python3 # -*- coding:utf-8 -*- f = open('test', 'r') print(f.readline()) ...
確定! 回上一頁