Тёмный
No video :(

Slicing in Python | String Slicing in Python | Indexing and Slicing | Slicing in Python in Hindi 

Code-yug
Подписаться 27 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 58   
@krishnakamalgogoi9893
@krishnakamalgogoi9893 2 месяца назад
The is the best lecture on slicing, totally cleared all my doubts. Thank you so very much.
@Codeyug
@Codeyug 2 месяца назад
Thanks and follow ru-vid.com/group/PLI4OVrCFuY543naNBsCaRLrLSxI7MUOzZ&feature=shared
@vijaymehtaa
@vijaymehtaa 2 года назад
Best lecture on slicing 🔥🔥🔥
@Codeyug
@Codeyug 2 года назад
Thank you so much..
@yt_abhishek07
@yt_abhishek07 2 года назад
KISI CHANNEL SE NAHI SAMJHE khali yehi channel hamko slicing samjha paaya. Thank you soo much 🔥🔥🔥🔥🔥🔥
@Codeyug
@Codeyug 2 года назад
Thank you.. You can follow our python tutorial... Lots of videos there.. Just check latest one.. You will find it usefull.
@SibaniKumariSethi-jo1df
@SibaniKumariSethi-jo1df 2 месяца назад
Tq for clarify my doubts....
@Codeyug
@Codeyug 2 месяца назад
Thanks and please do share
@riteshchand4904
@riteshchand4904 Год назад
one of the best video for slicing . Hats off
@Codeyug
@Codeyug Год назад
Thank you.. Please share this video with others..
@Mr.daud786
@Mr.daud786 8 месяцев назад
Bhi app ne to kmal kar dya Me Pakistani hn par app ke lecture me 8ndexing python understanding kar ke bht faida hwa he Agr c++ ,java pascal ho to wo bhi zroor seekha dn apni you tube channel par take sare lecture asani se note kar ke kuch achi programin kar skeg
@Codeyug
@Codeyug 8 месяцев назад
Thank you for the comment!
@navinkarn
@navinkarn 14 дней назад
Thank you 😊 ❤
@pranjalkumar8721
@pranjalkumar8721 Год назад
nyc one simple ppt but looks like animated!!
@Codeyug
@Codeyug Год назад
Thanks.. Please check playlists on my channel
@nandinigm6161
@nandinigm6161 3 года назад
Please explain me how the below slicing works? Name[5: : -1] Name[ :4 : -1] Name[-1: -5: -3] Name[0: -4 :-1]
@Codeyug
@Codeyug 3 года назад
You will get a video tomorrow...
@pankajrao6895
@pankajrao6895 Год назад
This was the best on point explanation so far!! U got yourself a new subscriber.
@Codeyug
@Codeyug Год назад
Thanks and please check playlists...
@pankajrao6895
@pankajrao6895 Год назад
@@Codeyug Yes i do and the playlist is very helpful!
@divyadubey6679
@divyadubey6679 Год назад
Could you please provide me def function based video along with question answer of python programming
@TheGhost-lr7vw
@TheGhost-lr7vw 11 месяцев назад
Thnks
@aseerahnaf7713
@aseerahnaf7713 11 месяцев назад
Thank you 😊🙏🙏😊
@Codeyug
@Codeyug 11 месяцев назад
Most welcome 😊
@Pruthviraj07
@Pruthviraj07 10 месяцев назад
Very nice explained sir Humari madam bhi fail hai aapke samne 😅❤
@Shubhesh_Tiwari
@Shubhesh_Tiwari Год назад
Well explained sir thank you ✅
@Codeyug
@Codeyug Год назад
Keep going.. Check courses in playlist section
@chetanpatil1269
@chetanpatil1269 3 года назад
I am beginner in django,it is very difficult to remember pip and other cmd commands for me,any solution?
@raj07shkjjgfss
@raj07shkjjgfss Год назад
Java DSA ka bhi daliye sir
@aliahmed-vd2nt
@aliahmed-vd2nt 11 месяцев назад
Best lecture thanks
@Shiva-zp7bj
@Shiva-zp7bj 9 месяцев назад
Homework answers: 1. 2.guy 3.g 4.
@Codeyug
@Codeyug 9 месяцев назад
Well done!
@Shiva-zp7bj
@Shiva-zp7bj 9 месяцев назад
@@Codeyug Thank you sir ☺️ , after watching tons of videos , I only understood after watching yours
@Aalekh_Chaudhary
@Aalekh_Chaudhary Год назад
Thank you bhai
@Codeyug
@Codeyug Год назад
You can follow playlists on this channel
@sandippal2857
@sandippal2857 9 месяцев назад
So nice
@Codeyug
@Codeyug 8 месяцев назад
Please do share
@raj07shkjjgfss
@raj07shkjjgfss Год назад
Nyc
@subhampatel758
@subhampatel758 Год назад
🔥
@saimanideep857
@saimanideep857 Год назад
I have a doubt. If you run str_name[::-1] you get the string in reveresed format. But when i try str_name[0:4:-1] note that the length of string is 4, so I'm directly giving the start as 0 and end as the total string, and the index is -1. When I run this, it doesn't work! Why? Can anyone say please?
@Codeyug
@Codeyug Год назад
Please watch entire video carefully.. You will get the answer... Everything is covered
@saimanideep857
@saimanideep857 Год назад
​@@Codeyug I saw the video. But when I tried this code in my idle I got differect resutls for both of them. I'm unable to figure out what's wrong with it. Here is the code >>>a='hello' >>>a[::-1] >>>'olleh' >>>a[0:5:-1] >>>'' Please test this in your pc. I'm not sure why is this happening. Thank you for replying.
@Codeyug
@Codeyug Год назад
@@saimanideep857 I got it. note this:- When you have negative step, default start value is -1 and not 0. It got missed in this video. But I covered it in other video, I will share the link... I need to search..
@Codeyug
@Codeyug Год назад
Check my latest short.. Your question is answered
@bidhanry9740
@bidhanry9740 Год назад
@@saimanideep857 so you are instructing python to start from 0 i.e 'h', and you need to move from left to right as step is -1, and keep running untill you reach index 5 So, you were standing at 'h' and started moving left. However, you soon realized that you had been scammed because there was no index 5 in your moving direction. This made you angry, and you decided not to print anything🗿
@jagdishk9630
@jagdishk9630 Год назад
well explained
@Codeyug
@Codeyug Год назад
Thanks
@Think____different
@Think____different Год назад
❤️
@neerajthapak
@neerajthapak Год назад
Gajak ka teaching skill h apka
@Codeyug
@Codeyug Год назад
Thanks and please share
@ALLISWELL609
@ALLISWELL609 Год назад
Where is list slicing
@Codeyug
@Codeyug Год назад
list slicing is same as string slicing. You can apply this video on any collection in python.
@KaranSinghD-yj9ep
@KaranSinghD-yj9ep 2 года назад
#slicing """slicing : slicing is used to access group of elements in string """ name = "karan singh" print(name[0:4]) print(name[:-4:-1]) print(name[0:0]) print(name[-1:-5:-3]) #len by manul program num = input("Enter a string : ") counter = 0 for i in num : counter+=1 print(counter) #by len() func num = input("Enter a string : " ) print("Entered string length is :", len(num)) #string membership #Two membership operator : in , not in name = "karan singh" if "k" in name : print ("yes it is true") else: print("false") name = "karan singh" if " " in name : print ("yes it is true") else: print("false")
@KaranSinghD-yj9ep
@KaranSinghD-yj9ep 2 года назад
#For fun try this 😂 Run_this ="udohyheuvkomlri" print(Run_this[::-2]) #Done
Далее
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Просмотров 1,4 млн
All Python Syntax in 25 Minutes - Tutorial
24:59
Просмотров 37 тыс.
Indexing and Slicing Python Lists for Beginners
7:28
#String Slicing in Python
24:23
Просмотров 2,8 тыс.
If __name__ == "__main__" for Python Developers
8:47
Просмотров 400 тыс.