0

Can we predict List as an array of Strings?

in both of them uses square brackets with elements separated by comma

27th Dec 2017, 6:12 AM
Devika
Devika - avatar
4 odpowiedzi
0
my assumption is with respect to python
27th Dec 2017, 6:24 AM
Devika
Devika - avatar
0
A list is the same as an array. It can contain any type of data even mixed because in python everything is an object so any list is a list of objects.
27th Dec 2017, 6:26 AM
emmey
emmey - avatar
0
meaning, myArr = ["can i do this", ["another list"], 34, "C", 3.14] is a valid list.
27th Dec 2017, 6:29 AM
emmey
emmey - avatar
0
LOL did you challenge me just cuz you knew you would win you're the first person that's defeated me in a challenge good job
8th Jan 2018, 4:25 AM
Scott (Yo Yo)
Scott (Yo Yo) - avatar