Data structure (DSA) in Python is well supported by a lot of powerfull class like List,Stack,Queue,Set or Dictionary
a = ?
a = [[1] * 2] * 2 a[0][0]=2
[[2, 1], [1, 1]]
[[2, 1], [2, 1]]
[[2, 2], [2, 2]]
© 2017 QuizBucket.org