Can you solve this? Python QUIZ #22 #pythonprogramming #python #pythonquestions #shortyoutube

preview_player
Показать описание
I hope you like this video.

Thanks for watching Code to Win. #codetowin

Social Media Link -
Рекомендации по теме
Комментарии
Автор

Again you wrote #21 in intro.

Btw it's no error because
Slicing syntax is: [Start:End:Step]
If you don't assign a value, it's counted as [0:(end of array):1].
[::-1] is [0:(end of array):-1].
Negative step will reverse.
So -1 is step 1 that goes backwards.
So it will reverse array.
Reversed twice does nothing. output: IPL

Note: string is one of array storing many characters.
So it's array too.

_____JUNPark_____
welcome to shbcf.ru