Python Tutorial For Beginners | Python List And Tuples Explained | SimpliCode

Python Tutorial For Beginners | Python List And Tuples Explained | SimpliCode

SimpliCode

3 года назад

1,068 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sumitdwivedi9853
@sumitdwivedi9853 - 29.11.2020 20:55

Sir if I write a[-1:-4]
The output is [ ]
I expected something like [6,5,4] when the a variable was this :-a=[1,2,3,4,5,6]
Sir so can u tell why this happened.....is it by default that python does slicing from left to right.

Ответить
@SimplicodeOfficial
@SimplicodeOfficial - 29.11.2020 13:37

Do you have any questions on this topic? Please share your feedback in the comment section below and we'll have our experts answer it for you. Thanks for watching the video. Cheers!

Ответить