Advertisement
ABIX_Edukacja

Lekcja 7 - Lista_zakres

Apr 17th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1.  
  2. def zakres(n):
  3.     lista=[]
  4.     for i in range(1,n+1):
  5.         lista.append(i)
  6.     return lista
  7.  
  8. nowa_lista = zakres(6)
  9. print(nowa_lista)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement