There was an error while loading. Please reload this page.
1 parent c190bea commit 17cbc4bCopy full SHA for 17cbc4b
Ex_07/ex_07_01.py
@@ -0,0 +1,10 @@
1
+# Use words.txt as the file name
2
+fname = input("Enter file name: ")
3
+fh = open(fname)
4
+
5
6
+for line in fh:
7
+ line = line.rstrip()
8
+ print(line.upper())
9
10
File/ex_07_01.py
0 commit comments