0

Wat is the use of list() in the program ?

13th Aug 2016, 12:18 PM
Harish Krishna
Harish Krishna  - avatar
6 odpowiedzi
+ 1
The list must be in square barcket rite ?
13th Aug 2016, 12:19 PM
Harish Krishna
Harish Krishna  - avatar
0
loop is just like array in c, but it can store any type of variables like (int,float,string,list,tuple,ductionary,etc)
13th Aug 2016, 1:25 PM
Gilli Vimalraj
Gilli Vimalraj - avatar
0
yes. [1,'Hello',2.2,['mango','apple']]
13th Aug 2016, 1:27 PM
Gilli Vimalraj
Gilli Vimalraj - avatar
0
Tnx for a ans
13th Aug 2016, 2:54 PM
Harish Krishna
Harish Krishna  - avatar
0
Tnx for a ans
13th Aug 2016, 2:54 PM
Harish Krishna
Harish Krishna  - avatar
0
to write a list we have to follow [ ] pattern
20th Aug 2016, 3:41 AM
Biswajit Samal
Biswajit Samal - avatar