Advertisement
Guest User

Genya

a guest
Apr 5th, 2020
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1.  
  2. file = open('rannd.txt','w')
  3. i = 1
  4. while i < 1000:
  5.     file = open('rannd.txt', 'a')
  6.     i = i + 1
  7.     file.write(str(randint(10,100)) + "," )
  8.     if i == 1000:
  9.         break
  10. input('ти хочешь прочитать етооооо:')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement