How does one edit specific lines of a file?
Example
What's your name?
What do you do?
What's your favourite colour?
And then after running a specific program, the outcome will be..
What's your name? : Thatile
What do you do? : I am a student
What's your favourite colour? : Black
Using file.seek() overwrites and I want to keep the original text in the file, just edit lines