no message

This commit is contained in:
陈银军
2025-12-04 13:46:06 +08:00
parent cc93dce428
commit 39444d26c8
58 changed files with 1 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
# w 表示写权限,文件不存在会自动创建
fp=open('hehe.txt', 'w')
a='''
1
2
3
4
5
6
7
8
9
10
11
12
'''
# file=fp 将打开的文件赋给fp
print(a,file=fp)
fp.close()