#!/usr/bin/pythonimport randomfile_object = open('file_01.txt','w')x=1while x<=1000000: text=random.randint(1, 100000000) file_object.write(str(text)+'\n') x+=1file_object.close()