LearnPy Hub
← Context Managers problems
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
solution.py
Output appears here
Write With with · Python practice problem · LearnPy Hub