We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f55fa commit 1f3bb23Copy full SHA for 1f3bb23
Assignment 7.1.py
@@ -0,0 +1,6 @@
1
+# Use words.txt as the file name
2
+fname = input("Enter file name: ")
3
+fh = open(fname)
4
+for line in fh:
5
+ line = line.rstrip()
6
+ print(line.upper())
0 commit comments