Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tors-iitk into main
  • Loading branch information
balamma committed Sep 7, 2021
2 parents b3fda10 + 2622f93 commit 2b8e0d4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions experiment/theory.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ Read | r | open('file_name', 'r')
Write | w | open('file_name', 'w')
Append | a | open('file_name', 'a')

Example :<br>
a = open('file.txt', 'w')<br>
a.write("Hello!, My name is Jake.")<br>
print(a.read())<br>
a.close()<br>
Example :<br><br>
<img src="images/img1.PNG"><br>
Output : Hello!, My name is Jake.<br>

<<<<<<< HEAD
Expand Down

0 comments on commit 2b8e0d4

Please sign in to comment.