Concept: Writing to a file opened in write mode. 'w' or 'w+'. poem_file = open('poem.txt', 'w') poem_file.write("Hello World!\n")
確定! 回上一頁