Let us see in this article how to write a list l1 to a file 'f1.txt': 1. Using write method: #!/usr/bin/python l1=['hi','hello','welcome'] ...
確定! 回上一頁