We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4aab0 commit 286d43dCopy full SHA for 286d43d
2 files changed
codes_in_Aug2025/FILE-IO/Qfile.txt
@@ -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
codes_in_Aug2025/FILE-IO/matching_content.py
@@ -0,0 +1,10 @@
+with open("ofile.txt") as f:
+ content = f.read()
+
+with open("0file.txt") as f:
+ context = f.read()
+if context == content:
+ print("Both contains the same thing.")
+else:
10
+ print("Both files are different.")
0 commit comments