Skip to content

Commit 4e7221d

Browse files
committed
Python Course
1 parent 64dda49 commit 4e7221d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

File.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
with open('mydata.txt','r') as f:
4747
a=f.read()
4848
print(a)# now need to close this function
49-
#for write file with this syntax:
49+
50+
#for write file with this syntax:
5051

5152
with open('mydata.txt','a') as f:
5253
a=f.write("now close function tension finish")

0 commit comments

Comments
 (0)