Easy
Write With with
Using
with open(...) both times, write the input line to w.txt and then read it back and print it in capitals.Input
One line.
Output
One line.
Sample 1
Input
hello
Output
HELLO
Sample 2
Input
Python is fun
Output
PYTHON IS FUN
Output appears here