Write a program to copy one file into another after converting all lower case characters to upper case | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program to copy one file into another after converting all lower case characters to upper case

Code in python

16th Mar 2021, 4:34 AM
EKTA SINGH
EKTA SINGH - avatar
6 Answers
+ 1
Hi! You tryed to solved this?
16th Mar 2021, 4:38 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
you should try and show us the code of your attempt
16th Mar 2021, 4:47 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
well, then give it a shot...
16th Mar 2021, 5:23 AM
John Doe
0
No👀
16th Mar 2021, 4:39 AM
EKTA SINGH
EKTA SINGH - avatar
0
Ohk I will try it 1st
16th Mar 2021, 5:34 AM
EKTA SINGH
EKTA SINGH - avatar
0
FYI, you can open() 2 files within a context manager using; with open('file1.txt', 'r') as in_file, \ open('file2.txt', 'w') as out_file: ... # code working with files ...
16th Mar 2021, 7:56 AM
ChaoticDawg
ChaoticDawg - avatar