Skip to content

Commit 286d43d

Browse files
authored
Add files via upload
1 parent 0a4aab0 commit 286d43d

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

codes_in_Aug2025/FILE-IO/Qfile.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Hello world! python boss Code
2+
star little king kong
3+
tea pot basket ball know
4+
knowledge Lantern Whisper
5+
Glacier Velvet Orbit
6+
Meadow Citrus Puzzle Lantern
7+
Ember Quilt Saffron
8+
Echo Mirth Spiral
9+
Pebble Velvet Drift
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
with open("ofile.txt") as f:
2+
content = f.read()
3+
4+
with open("0file.txt") as f:
5+
context = f.read()
6+
7+
if context == content:
8+
print("Both contains the same thing.")
9+
else:
10+
print("Both files are different.")

0 commit comments

Comments
 (0)