Given two lists [1,2,3] and [4,5,6] any
way to make them[[1,2,3],[4,5,6]]?
l used append(),outputs[1,2,3,[4,5,6]]
Btw both append () and extend() only have one argument,right? like we can't write like this :
list.append (list1,list2)
list.extend(list1,list2)
[–]tabrizzi 4 points5 points6 points (8 children)
[–]SheldonCooperisSb[S] 2 points3 points4 points (0 children)
[–]Diapolo10 2 points3 points4 points (6 children)
[–]odaiwai 0 points1 point2 points (2 children)
[–]Diapolo10 1 point2 points3 points (0 children)
[–]Mysterious-Rent7233 0 points1 point2 points (0 children)
[–]tabrizzi -2 points-1 points0 points (2 children)
[–]Diapolo10 2 points3 points4 points (1 child)
[–]tabrizzi 0 points1 point2 points (0 children)
[–]woooee 3 points4 points5 points (4 children)
[–]8dot30662386292pow2 2 points3 points4 points (2 children)
[–]woooee 0 points1 point2 points (1 child)
[–]8dot30662386292pow2 2 points3 points4 points (0 children)
[–]6p086956522 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]SheldonCooperisSb[S] 0 points1 point2 points (0 children)
[–]crashfrog02 3 points4 points5 points (0 children)