Answer to Question #3378 in Python for mukunda
Write a python program to open the “rgukt.txt” file and print the contents of the file on to the console.
1
2011-08-02T14:05:59-0400
for s in open ("rgukt.txt"):
if s[-1] == '\n': s = s[:-1]
print(s)
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Python
Comments
Leave a comment