I've tried the following code but this is giving me a output that i'm unable to predict. Please help me in scanning this code.
l=[['d','e','f'],['a','b','c'],2,3,4,5]
l[:2][1:2]
Output:
[['a', 'b', 'c']]
I've tried the following code but this is giving me a output that i'm unable to predict. Please help me in scanning this code.
l=[['d','e','f'],['a','b','c'],2,3,4,5]
l[:2][1:2]
Output:
[['a', 'b', 'c']]