Question: 5 1 6 1 1 2 . 3 9 5 9 4 4 6 . 9 3 z q y 7 Jump to level 1
Jump to level
A file is read from input into fileinput, and mycomputer is assigned with the string literal Tran's Computer: D: System Modify the string literal to:
Replace the whitespace after 'Computer. with a newline character.
Ensure that all special characters in mycomputer are output.
Ex: If the input is Mom.png then the output is:
Tran's Computer:
D: System Mom.png
fileinput input
mycomputer 'Tran's Computer: D: System
mycomputer mycomputer replace Computer:
mycomputer fileinput
printmycomputer, end
printfileinput
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
