Advertisement
ABIX_Edukacja

auto-lista

May 6th, 2020
1,004
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. from random import randint
  2. # import array as ar
  3. ilosc = int(input ('Ile liczb chcesz wygenerować: '))
  4. print(ilosc)
  5. ar=[]
  6. licz=0
  7. while licz < ilosc+1:
  8.     licz += 1
  9.     ar.append(randint(45, 55))
  10.  
  11. print(ar)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement