+ 1

Which of following are valid lists? Why?

I meet a strange problem in game. There are four items. (1) a=[1,2,34] (2) a={1','2','3'} (3) b=[x,y,z) (4) b=['x','y','z'] I choose (1) and (4), but it's error. Why?

12th Aug 2017, 3:17 AM
wudc
2 odpowiedzi
+ 5
1-correct it is list declarations. 2-wrong because it is a dictionary declarations. 3-wrong sign and where are x y z declaration. 4-correct it is a list declarations. you are correct😊 you should told the developers team about this quiz. :/
12th Aug 2017, 4:47 AM
Nithiwat
Nithiwat - avatar
+ 1
Thank you!
12th Aug 2017, 9:49 AM
wudc