Write a program that reads a text file and prints out only odd lines to the screen.

python

Q1: Write a program that reads a text file and prints out only odd lines to the screen. Thus, lines 1, 3, 5,… only printed.

Q2: Update your odd lines program (Q1) to write odd lines to the screen and write then lines to another file.

It is due in 12 hours.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: