Short Python program generating random integers and saving them in .txt file. Program asks you how many number you want to generate and range of them. Each line in .txt file has one integer.
How many numbers do you want to generate? : 20
Set range.
From: 1
To: 100
In file random_ints_20.txt:
6
52
95
23
14
28
5
19
51
64
69
89
76
35
78
76
46
95
8
51