10 points write a program to read a text file named temptxt and write
Search for question
Question
(10 points) Write a program to read a text file named "temp.txt" and write only the first 5 lines of this file to a new file "five_lines.txt" after replacing all