Question: Write a python program to create > This file consists of even numbers from 10 to 20 Then read this file(>) line by line and
Write a python program to create > This file consists of even numbers from 10 to 20 Then read this file(>) line by line and store it into list. Finally display the sum of the third and fifth element. Sample Output numbers: ['10 "12 '. 14 ". . 16 ". 20\" 20 ', 1 Sample txt file: numbers.txt 1 3 10 12 14 16 18 20 4 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
