python name 'file' is not defined的解決辦法

python版本3.11python 源碼:ci poem = '''\ Programming is fun When the work is done if you wanna make your work also fun:         use Python! '''源碼 f = file('poem.txt', 'w') # open for 'w'riting f.write(poe
相關文章
相關標籤/搜索