Python tutorial 17: What Google Isn't Telling You About Python Slice

preview_player
Показать описание
------------------------------------------------------------------------
►►►LINKS◄◄◄
Previous Tutorial

-------------------------------------------------------------------------
►Make sure you SUBSCRIBE and be the 1st one to see my videos!
-------------------------------------------------------------------------
►►►Find me on Social Media◄◄◄
Follow What I am up to as it happens on

You can also Email me at
for E-mail address please check the About section

Please please LIKE and SHARE my videos it makes me happy.
Thanks for liking, commenting, sharing and watching more of our videos

♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS

#PythonWithRebellionRider
Рекомендации по теме
Комментарии
Автор

Write a program To Print Only the last word “Rider” of String "Rebellion Rider" in reverse using Python Slice operator.


You have to comment your code. I will pick a random name and that person will win a free career counselling session on Facebook Call with me.

Rebellionrider
Автор

sir brilliant. atom show me external and internal error

mshahzad
Автор

str = "Rebellion Rider" [-1:-6:-1]
print(str)

rambabuthippana
Автор

Hi Manish ...didn't understood the reason why it didn't took 'R' even though we mentioned -15 and R was at -15 index position? Please explain. Thanks

siddharthbhargava
Автор

Sir I have done the task you have ordered :D Plz check my comment on fb.

mahery_ranaivoson
Автор

str = 'Rebellion Rider' [-1:-6 :-1 ]
print(str)

prakashkvk