Python - How to Name Index Ranges for String Slicing

Published: 22 April 2021
on channel: codevev
565
20

#Shorts #Python
If you have to use slicing several times for a long string, it may be easier to use named slicing in Python. This will allow you to access the substring by passing in a variable instead of a range of indexes. Watch the video and see it for yourself! It's only one minute long and you'll know one more Python trick that you didn't know before!

-------------------------------------------------------------------------------------
Links:
Blog: https://evgenyurubkov.com
Twitter:   / evgenyurubkov  
Instagram:   / evgenyurubkov  
Youtube:    / @codevev  


Watch video Python - How to Name Index Ranges for String Slicing online without registration, duration hours minute second in high quality. This video was added by user codevev 22 April 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 565 once and liked it 20 people.