+ 1

Can we declare a list with size?

as we do with arrays in c as, arr[5]; can we do the same with list?

17th Feb 2018, 5:58 AM
Sagar Parkale
Sagar Parkale - avatar
1 Réponse
+ 2
You can create a list with "range(5)" for [1,2,3,4,5]
18th Feb 2018, 6:11 PM
Giuseppe Pipitò