+ 2

it would be better if they explain hard questions answer.how to know that

some question answers I don't get..

15th Jun 2017, 9:43 AM
Ash
Ash - avatar
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]] )
15th Jun 2017, 10:48 AM
Bogdan Sass
Bogdan Sass - avatar
+ 2
thanks man 👏👏
15th Jun 2017, 10:49 AM
Ash
Ash - avatar