Skip to content

Commit

Permalink
Create ass11.3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shuvojitss authored Oct 19, 2023
1 parent f0e1ef6 commit f41a9c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ass11.3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
f = open("mynamet.txt", "a")
f.write("Now the file has more content!")
f.close() #open and read the file after the appending:
f = open("myname.txt", "r")
print(f.read())


#Hello! Welcome to demofile.txt.
#This file is for testing purposes.
#Good Luck!
#Now the file has more content!

0 comments on commit f41a9c9

Please sign in to comment.