Question: undefined Write a python program to create > This file consists of random integer number (between 1-35). Get the number of integers from the user
undefined
Write a python program to create > This file consists of random integer number (between 1-35). Get the number of integers from the user and according to this number, fill the file. Then read this file(>) line by line and store it into list. Finally display the second item in the array. Sample Output Enter the number of integers: 6 All lucky numbers: ['11 ', '33 ', '8 ', '4 ', '1 ', '9 '] Selected one: 33 Sample txt file: numbers.txt 1 2 11 33 3 8 4 4 5 1 9 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
