+ 2
it would be better if they explain hard questions answer.how to know that
some question answers I don't get..
2 Answers
+ 2
Run the code yourself. If it still doesn't make sens, separate it into smaller parts, and run them separately. That's what I do :)
For example: it is difficult to understand what the following code does (python):
a=['a',1,7,'abc',10]
print ( a[a[1:2][0]] )
But I can separate it into meaningful pieces, small enough to follow:
a=['a',1,7,'abc',10]
print (a[1:2])
print (a[1:2][0])
print ( a[a[1:2][0]] )
+ 2
thanks man đđ