import random n = 0 max = 50 while n < max: n += 1 print(random.randrange(0,1000000)) print('Done!')
Standard input is empty
909251 705306 972260 675654 985007 329233 481653 194855 314234 846024 498567 584816 453332 254216 573690 278645 205526 461590 231454 562029 350731 706607 802984 199616 851252 802538 606974 662262 441910 476791 166267 828977 937612 321953 668625 785879 437590 861283 856759 79038 136282 683122 631681 410794 625611 616653 172690 929667 804443 971644 Done!