SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Liste

» Start this Course
(Practice similar questions for free)
Question:

Koje funkcije koristi Python za stvaranje listi?

Author: Ana Grgić



Answer:

U najjednostavnijem obliku u tu se svrhu mogu koristiti funkcija range(n) i petlja for : lista1= [ i for i in range(20) ] >>>[0,1,2,3,4,5,6,7,8,9,101112,13,14,15,16,17,18,19]


0 / 5  (0 ratings)

1 answer(s) in total