Enumerate Function in Python | Python Tutorial - Day #42

  Рет қаралды 230,830

CodeWithHarry

CodeWithHarry

Күн бұрын

Python is one of the most demanded programming languages in the job market. Surprisingly, it is equally easy to learn and master Python. This python tutorial for absolute beginners in Hindi series will focus on teaching you python concepts from the ground up.
Access the Playlist: • Python for Beginners (...
Link to the Repl: replit.com/@co...
Join Replit the browser-based IDE used in this course - join.replit.co...
►Checkout my English channel here: / @programmingwithharry
►Instagram: codewithharry
python, C, C++, Java, JavaScript and Other Cheetsheets [++]:
Playlist: • Coding CheatSheets 🧾 b...
►Learn in One Video[++]:
Python[15 Hr]: • Python Tutorial For Be...
Python Advance[3.5 Hr]: • Python Programming Cou...
Python[1 Hr]: • Learn Python In Hindi ...
Python[2 Hr]: • Python Tutorial In Hin...
Python[15 Min]: • 15 Minute Python Tutor...
JavaScript[1 Hr]: • JavaScript Tutorial
C[1.3 Hr]- • C Programming Tutorial...
php[1 Hr]: • Learn Php In One Video...
php[2.3 Hr]: • Php Tutorial for Begin...
php[Project]- • Login And Registration...
HTML[30 Min]: • HTML 5 Tutorial For Be...
CSS[8.5 Hr]: • CSS Tutorial In Hindi ...
CSS[1.4 Hr]: • CSS 3 Tutorial For Beg...
Wordpress[3.2 Hr]: • How To Make a WordPres...
Angular[2 Hr]: • Angular Tutorial in Hindi
Java[2.3 Hr]: • Java tutorial in hindi 🔥
Web Scraping[1 Hr]: • Web Scraping Tutorial ...
MongoDB[2 Hr]: • MongoDb Tutorial For B...
Numpy[1 Hr]: • Numpy Tutorial in Hindi
Android Dev[12 Hr]- • Android Development Tu...
Linux[1 Hr]: • Linux Tutorial For Beg...
JQuery[1.1 Hr]: • jQuery Tutorial For Be...
Git and GitHub[1.1 Hr]: • Git & GitHub Tutorial ...
►Complete course [playlist]:
React: • React Js Tutorials in ...
Python- • Python Tutorials For A...
OOP Python- • Object Oriented Progra...
Java: • Java Tutorials For Beg...
JavaScript- • JavaScript Tutorials I...
PHP- • PHP Tutorials in Hindi
C- • C Language Tutorials I...
C++- • C++ Tutorials In Hindi
Git & GitHub- • Git and GitHub Tutoria...
Android Dev- • Android Development Tu...
Python GUI- • Python GUI: Tkinter Tu...
Web Development- • Web Development Tutori...
Python Django: • Python Django Tutorial...
Projects Using HTML, CSS & Javascript- • Projects Using HTML, C...
Data Structure and Algo: • Data Structures and Al...
Follow Me On Social Media
►Website (created using Django Rest & Angular): www.codewithha...
►Facebook: / codewithharry
►Instagram: / codewithharry
Twitter: / codewithharry
Comment "#HarryBhai" if you read this 😉😉

Пікірлер: 264
@abhishekmeena4253
@abhishekmeena4253 Жыл бұрын
b = [ 10 , 20 , 80 , 90 ,34 ,54 , 78 ] ent = int(input("enter the index: ")) for index , l in enumerate(b): if ent == index: print(f"the value in index is {l}")
@VikashKumar-sl4wg
@VikashKumar-sl4wg 2 жыл бұрын
Finally i completed all my backlogs...yeeeeee.....i will continue live from today🥳🥳🥳🥳🤠
@ARES-vn1px
@ARES-vn1px Жыл бұрын
IGNOU student ?
@Shadow_Monarch6577
@Shadow_Monarch6577 6 ай бұрын
Wait !! you guys having backlog in computer science it's understandable if it's maths but backlog in computer science is rare cause compared to other branches subject we'll have easy time compared to Ece,eee etc..
@muhammadumar7577
@muhammadumar7577 2 жыл бұрын
Harry Bhai at 3:26 hum indexing karne ke bajaye hum ye code bhi run karskte the ************** marks = [23, 45, 67, 12, 98, 43] for mark in marks: print(mark) if mark == 98: print("Umar is Awesome") **************
@beyjobs
@beyjobs 2 жыл бұрын
lekin humko index value 3 pr ye print krwana tha na isliye unho ne index wala method use kia index wala useable hai
@maliktalha863
@maliktalha863 7 ай бұрын
Situation change bhi hoskti. Turn ham index ko dkh k chalain gay
@AtifMalik-g3b
@AtifMalik-g3b 14 сағат бұрын
# Short hand if else syntax practice age = int(input("Enter your age:")) print("Drive") if age>18 else print("don't drive") marks = 25 result = "Pass" if(marks>23) else "Fail" print(result) a = 100 b = 100 print("A") if a>b else print("=") if a==b else print("False") 0:33
@oPERFECT
@oPERFECT 2 жыл бұрын
Well explained sir 😀😀 Learned python from ur videos and now working as developer freelancer
@ImproveProgrammingLogic
@ImproveProgrammingLogic 2 жыл бұрын
Indeed
@lakshyaarora6108
@lakshyaarora6108 2 жыл бұрын
bhai kya develop karte ho?? web apps ya website aur kitni earning hojati hogi approx month ki?? please answer!
@ImproveProgrammingLogic
@ImproveProgrammingLogic 2 жыл бұрын
@@lakshyaarora6108 Mujhe toh monthly 4k milta hai sirf 100 Videos pe...
@lakshyaarora6108
@lakshyaarora6108 2 жыл бұрын
@@ImproveProgrammingLogic ohk
@bepositive271
@bepositive271 Жыл бұрын
@@ImproveProgrammingLogic Bhai develop kya karte ho
@maheshpaliwal3111
@maheshpaliwal3111 2 жыл бұрын
Sir I requested that with this course in a every week one day you solve real problem or leetcode problem with python,so we can build our problem solving skills
@MAbdullah_sonulover
@MAbdullah_sonulover 2 жыл бұрын
This course in best #Day_42
@arpankarmakar16
@arpankarmakar16 2 жыл бұрын
#Day42 completed. 58 more to go!!!
@indreamelite594
@indreamelite594 2 жыл бұрын
Nice buddy 🤍
@subhradwipnayak1182
@subhradwipnayak1182 Жыл бұрын
Brah, Harry bhai made me laugh just in 1:00 His: "mere 2 mark kat Gaye to baki bacchon ka kya hoga socho" 😂😂 Anyway nice course ❤
@SHIVAMKUMAR-xk7lz
@SHIVAMKUMAR-xk7lz Жыл бұрын
Ishi comment ko mein bhi khoj raha tha :)
@fanciedinterface1616
@fanciedinterface1616 Жыл бұрын
awesome video man,42 days completed ,58 more to go
@Kiran23456
@Kiran23456 Жыл бұрын
I think now you have completed can you please share your experience
@RoyalPandit021
@RoyalPandit021 Жыл бұрын
bro its very good as you progress it will become complex if u are new but with time it will cover up@@Kiran23456
@AtifMalik-g3b
@AtifMalik-g3b 14 сағат бұрын
# Enumerate function in python is used to keep the track of the index while iterating list,tuple or string etc s1 = "Hello i'm Atif malik" for index,char in enumerate(s1): print(char,end="") if char=="'": print(index) print(" ") # As below with the help of enumerate function we can also start the index with 1 rank = ["Atif","harry","Yasar","Harshil","faisal"] for index,name in enumerate(rank,start=1): print(index,name) tup = ("hi","hello","bye") # If we just use one iterator eith enumerate function then it prints both index and value for i in enumerate(tup): print(i)
@Shortsfortheday21
@Shortsfortheday21 7 ай бұрын
this enumerate function will actually help a lot in the kbc quiz we created and the loop we created to print all the questions honestly kinda great honestly thanks, i needed this
@saugatnepal5956
@saugatnepal5956 2 жыл бұрын
Harry bhai, Can we raise the bar a little? I am taking your JavaScript course as well along with this course. I have felt in JS course, everyday you learn a lot. In this course I feel the tempo is a little slower. Would love to watch longer videos. I want to take the most out of this course. Lots of love Harry bhai.
@abhinavkhatri4006
@abhinavkhatri4006 2 жыл бұрын
Nepal bata ho ?😳
@ImproveProgrammingLogic
@ImproveProgrammingLogic 2 жыл бұрын
@@abhinavkhatri4006 Kyu
@tanmaymalviya5312
@tanmaymalviya5312 2 жыл бұрын
I also feel the tempo can get paced a bit while the videos getting longer would let us gain more in depth knowledge . But i feel Harry must have a plan setup and he is going with the plan he has lets hope the tempo increases from here on
@jaivik9093
@jaivik9093 2 жыл бұрын
Series ka growth exponential hoga just like JS course achanak se level high hoga basic khatam hone ke bad
@BountyHxntxr
@BountyHxntxr 2 жыл бұрын
Thanks bro I was looking for an indepth tutorial on it 😅
@mahadrayyan1997
@mahadrayyan1997 Жыл бұрын
marks=[12,33,42,98,33,22] for mark in marks: print(mark) if mark==marks[3]: print("harry awesome!") sir we can do this way as well if we do not want to use enunmerate function and this way we do not have to define index as well
@krishankaushik4800
@krishankaushik4800 2 жыл бұрын
nice bro love you
@ermanojku
@ermanojku Жыл бұрын
Gajab bhai, mere marks 98 aaye hahaha cool bro--achha andaaz hai
@anmolverma075
@anmolverma075 2 жыл бұрын
Harry Sir , please make a video on Android Development roadmap in 2023. It's a humble request!
@amitdeshmukh9660
@amitdeshmukh9660 2 жыл бұрын
Thank you for everything harry....
@mdsohanurrahmanhridoy1343
@mdsohanurrahmanhridoy1343 2 жыл бұрын
#Completed day#42/100😍
@AmitSharma-oh5uw
@AmitSharma-oh5uw Жыл бұрын
finally day 42 also completed 🎊🎊🎊🎊🎊🎊🎊🎊🥰🥰🥰🥰🥰🎉🎉🎉🎉🤖🤖🤖🤖
@anirudhnautiyal2336
@anirudhnautiyal2336 2 ай бұрын
Amazing lecture harry bhai❤
@VS_Kaushik
@VS_Kaushik 2 жыл бұрын
Thanks harry bhai thanks
@ovi2255
@ovi2255 2 ай бұрын
a=[12,23,43,24,64,24,98,35,25,7,65] for i in a: if i==98: print("Awsome") else: print(i) We can write this
@krishankaushik4800
@krishankaushik4800 2 жыл бұрын
Doing great work
@thefireyphoenix
@thefireyphoenix 3 ай бұрын
marks=[7,8,9,0,44,33] index=0 for mark in marks: print(f"Index {index}, marks {mark}") if mark==marks[3]: print("Arushi, it worked!") index+=1 This should have been the initial code Honestly the purpose of enumeration is to not having to write this much code for index etc and directly use such a function to write the index and the values displayed in the list.
@beastgaming2.023
@beastgaming2.023 Күн бұрын
Here's an example Lists = [1,2,3,4,5,6] for list in Lists: print(list) if(n==6): print("special case!") So can anyone tell me what's the point of enumerate if we can use this method.
@ashutoshmishra4781
@ashutoshmishra4781 7 ай бұрын
harry tumhra intro & ending music jyada motivate krta hai sunne ka lya 😂🫡
@shivamchaudhary8592
@shivamchaudhary8592 2 жыл бұрын
#Day42 Present Sir
@vaibhavsoni4680
@vaibhavsoni4680 Жыл бұрын
list=['animal','gadar-2','omg','kgf','salar','jawan','3 idiots'] for index,i in enumerate(list, start=0): print(f"index: {index} and",i)
@rudra2036
@rudra2036 Жыл бұрын
list = [1, 2, 4,5,6,7,8,9,10] for i in list: print(i) if i == list[3]: print("awesome harry bhai") continue enumerate k jagah ye basic se bhi to ja sakte hai then why will use enumerate harry bhai???
@t.shravyasree-ie-2435
@t.shravyasree-ie-2435 Жыл бұрын
But along with numbers in a list...I think we can't print the index number at the same time
@wasimsaifi4512
@wasimsaifi4512 2 жыл бұрын
Present 💝
@Manish-qt1bz
@Manish-qt1bz 2 жыл бұрын
Present Sir 🔥
@atulyadav993
@atulyadav993 2 жыл бұрын
Nice bhai
@Arnav-maurya84
@Arnav-maurya84 7 ай бұрын
It's a great achievment congrats
@MovieOk-p8q
@MovieOk-p8q Жыл бұрын
Finally day 42 also completed 🎉🎉🎉
@zidanali7496
@zidanali7496 2 жыл бұрын
Great Video
@SoumenMaity9
@SoumenMaity9 2 жыл бұрын
Good, very easy to understand.
@jatinbhatt2222
@jatinbhatt2222 2 жыл бұрын
Present Sir on Day-42 ✋
@danyalasif8322
@danyalasif8322 5 ай бұрын
Present Sir from Pakistan!
@bakhatbaba5684
@bakhatbaba5684 2 жыл бұрын
Informative
@himanshuraivines9551
@himanshuraivines9551 2 жыл бұрын
Thanks a lot Harry bhai for because i don't know enumerate in python ❤️❤️
@technikalproblem6780
@technikalproblem6780 2 жыл бұрын
Thank you so much sir for creating this video!
@rode_atharva
@rode_atharva 2 жыл бұрын
Sir will you have any plan to bring web development series after this python course❤
@Haribansh-zt5qz
@Haribansh-zt5qz 2 жыл бұрын
He already have webD playlist on his channel.
@cLCS2
@cLCS2 Жыл бұрын
Why do all indians use "sir" in every sentence lmao. That's so awkward
@Nuvora.OFFICIAL
@Nuvora.OFFICIAL 2 жыл бұрын
Present Sir!
@Thegreatakashdeep
@Thegreatakashdeep 6 ай бұрын
Badhiya !
@nepaligang8090
@nepaligang8090 2 жыл бұрын
00:58 khudke taarif hummm
@EmpowerTheVoice
@EmpowerTheVoice Жыл бұрын
Marks = [43,56,67,87,34,56,76,34,75,34,65,23,23,23] for index, Marks_ in enumerate(Marks): #list me kn sa element kn sa index pa ha enumerate function yah btata ha print (index,Marks_)
@AshwaniKumar-s1v
@AshwaniKumar-s1v 24 күн бұрын
Sir, please make a playlist for the django framework
@webPro_faizan
@webPro_faizan 2 жыл бұрын
Awesome
@rAjAbhinand98
@rAjAbhinand98 2 жыл бұрын
Cool
@eashovon
@eashovon 2 жыл бұрын
Present Brother From Bangladesh....#Day42 Done
@kahani_ka_jadu
@kahani_ka_jadu 5 ай бұрын
i did the same think from this code if i am wrong then tell me how marks = [12, 56, 32, 98, 12, 45, 1, 4] for k in range(len(marks)): print(f'{k+1}. {marks[k]}') if k+1==5: print('This is 5th element.')
@subhyoyogg2394
@subhyoyogg2394 4 ай бұрын
marks = [12, 56, 32, 98, 12, 45, 1, 4] for k in range(len(marks)): if k+1==5: print('This is 5th element.') print(f'{k+1}. {marks[k]}')
@restlessconqueror
@restlessconqueror 2 жыл бұрын
Harry bhai iske baad DjangoRestFramework ka tutorial bnado. Bhot dhoonda par ek badhiya course khin nhi mil rha or na aapke channel pe DRF ka koi tutorial hai. Mere jaise bhot logo ki help ho jayegi.
@vjournalbytej9832
@vjournalbytej9832 11 ай бұрын
Present Sir 🤚
@dhaulagiribgl434
@dhaulagiribgl434 2 жыл бұрын
How many days gone you didn't use c programming If you use c what technology you will use for c programming idle code editor What are the modern technology you use as 2023
@USMANILYAS-ix1nc
@USMANILYAS-ix1nc Жыл бұрын
good course bro..............
@EmpowerTheVoice
@EmpowerTheVoice Жыл бұрын
#age enumerate function na use krn to asa solve krna prha ga Marks = [43,56,67,87,34,56,76,34,75,34,65,23,23,23] index = 0 for i in range(1, len(Marks)+1): index = index+1 if (index==4): print ("wow have done it") print (i) print ("Hello")
@approgrammingdoor1373
@approgrammingdoor1373 2 жыл бұрын
Harry bhaiya I have a doubt in line 11 03:41 For mark in marks? Last me range ki jagah marks hai mujhe ye samajh nahi aya kya ye loop hai agar ha to kaise aur agar nahi hai to kya hai ye kar kya raha hai
@zainikimemes
@zainikimemes 2 жыл бұрын
Loop hai or range ki jaga marks ki length assume kre ga
@faizandynamicearth
@faizandynamicearth 2 жыл бұрын
Bht alla
@RohanDasRD
@RohanDasRD 2 жыл бұрын
Day 42 done
@sridiptah3186
@sridiptah3186 2 жыл бұрын
love you harry sir❤
@thatcoolkid370
@thatcoolkid370 2 жыл бұрын
#Day 42 in 100DaysOfCode. Trying to catch up with the series
@teertharajturkar
@teertharajturkar 2 жыл бұрын
#day 42 present sir
@RitikV2
@RitikV2 3 ай бұрын
thank you harry bhii
@shubhamrawat9596
@shubhamrawat9596 Жыл бұрын
#Day42🤗🤗🤗
@NEERAJ-dw9bt
@NEERAJ-dw9bt 10 ай бұрын
Present sir 🤚
@supergaming2.o
@supergaming2.o 2 жыл бұрын
Sar how can see your notes in pdf for download
@yatindrapabbati6878
@yatindrapabbati6878 2 жыл бұрын
DAY42-PRESENT SIR!
@Keepitshort417
@Keepitshort417 2 жыл бұрын
present sir from Pakistan tharparkar more
@techInAflash
@techInAflash 5 ай бұрын
one more easy way lst=[34,434,3434,23423,3434] for l in lst: if l ==3434: print("")
@mryt8416
@mryt8416 Жыл бұрын
Thanks harry bhai
@MovieOk-p8q
@MovieOk-p8q Жыл бұрын
Present🎉❤
@qzarmy7059
@qzarmy7059 Жыл бұрын
I am present bhaiya ❤
@ProgrammingNCodingWithHarsh
@ProgrammingNCodingWithHarsh 2 жыл бұрын
Code With Harry Come With Sundeep Maheshwarii!!
@Himanshujha80
@Himanshujha80 2 жыл бұрын
#Harry Bhai
@KeshavBhardwaj-eu5tx
@KeshavBhardwaj-eu5tx Жыл бұрын
why do i even need use enumerate function I can do the same by this aswell "marks=[1,54,23,6,4,34,21,99,24,36,12] for mark in marks: print(mark) if (mark==marks[7]) : print("Keshav is awsome") "
@rahatsaini8438
@rahatsaini8438 9 күн бұрын
bhai hum index==3 ki jgha marks[3] nhi kar saktey kya?
@meditationmusic6482
@meditationmusic6482 2 жыл бұрын
Thanks sir.
@mushif7745
@mushif7745 11 ай бұрын
marks =[12,56,32,98,12,45,1,4] for mark in marks : print (mark) if mark == marks[3]: # if mark == 98 print ('HARRY AWESOME') #Harry bahi ya be to easy ha ya Q ni kr sakty kya
@Radhe_radhe2929
@Radhe_radhe2929 2 жыл бұрын
Day 42 🔥
@yogendrarajputys8060
@yogendrarajputys8060 2 жыл бұрын
Hello Harry Sir, greetings from my side I had only one question to you that you have uploaded a playlist before for python learning and one of 9 hours of video is also there on your channel and this is the 3rd course for python so which course should I prefer plz guide me
@anmolverma075
@anmolverma075 2 жыл бұрын
Bro, follow this latest course, it will be beneficial for you.
@yogendrarajputys8060
@yogendrarajputys8060 2 жыл бұрын
@@anmolverma075 Okay brother
@nepaligang8090
@nepaligang8090 2 жыл бұрын
Other course are also good, but this is interesting and with new updates and new ideas. So I suggest you to do with this one.
@Nuvora.OFFICIAL
@Nuvora.OFFICIAL 2 жыл бұрын
Vah Aapne 4 videos pehle se hi bana ke rakhi hai day #43, 44, 45, aur 46 ke liye! Aapki playlist mein 46 videos and 4 unavailable videos are hidden!
@harshit7787
@harshit7787 2 жыл бұрын
Day 42✅
@SaurabhSrivastva-p4f
@SaurabhSrivastva-p4f Жыл бұрын
1:19 flex ka tarika thora cazual h
@AnilKumar-xl1ju
@AnilKumar-xl1ju 2 жыл бұрын
Print("I am Present") Find error?
@abhinavkhatri4006
@abhinavkhatri4006 2 жыл бұрын
Declare find error like print ('find error ?')
@pravingupta1814
@pravingupta1814 2 жыл бұрын
hi sir ,python me user defined data structure bhi seekhaoge kya ?
@LOSTGAMER141
@LOSTGAMER141 Жыл бұрын
agr vo sikhna hai toe w3 school ki documentation prlo
@reallife6694
@reallife6694 2 жыл бұрын
Good evening harry bhai Aapne jo pehle course dia tha python ka (meine complete kar lia) usme aur isme kya difference hain??
@ajayhathi1008
@ajayhathi1008 2 ай бұрын
Hi @CodewithHarry Replit link is not working properly. Please check once
@mariamhasan3733
@mariamhasan3733 Жыл бұрын
Day #42 done
@gourijamkhindikar
@gourijamkhindikar Жыл бұрын
congratulations
@ESPORTSAASHISH
@ESPORTSAASHISH 2 жыл бұрын
Hello Bhai Merai Vs code mein image use nahi hoo paa rahei hai in HTML plz help any tip anyone...
@lakhyadeepsen
@lakhyadeepsen 2 жыл бұрын
Day 42 of 100 of python challenge completed. #100DaysofCode #100dayspythonchallenge
@CoderzGaming093
@CoderzGaming093 2 жыл бұрын
#day42
@abuzarahmad8544
@abuzarahmad8544 2 жыл бұрын
Bhai visual studio me import module psreadline enable kaise kare plssss helppppp
@sabujsangram5977
@sabujsangram5977 2 жыл бұрын
Attendance of day 42 😎
@beastcracker117
@beastcracker117 Жыл бұрын
I have watched the 12 hour video of python , is it necessary to watch these 100 videos too ??
@intellectual.thoughts.01
@intellectual.thoughts.01 7 ай бұрын
yaha per handle error bhi tu laga sakhy thy ?
@abhinav5786
@abhinav5786 2 жыл бұрын
Present sir 😁
@__ayu
@__ayu 2 жыл бұрын
#DAY42 COMPLETED #CodeWithHarry
Virtual Environment in Python | Python Tutorial - Day #43
21:38
CodeWithHarry
Рет қаралды 278 М.
How import works in Python | Python Tutorial - Day #44
12:42
CodeWithHarry
Рет қаралды 228 М.
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Using Python enumerate() With for Loops
14:01
Real Python
Рет қаралды 26 М.
5 Mistakes Beginner Web Developers Make (Avoid These)
12:09
CodeWithHarry
Рет қаралды 153 М.
NumPy - ГЕРОИ НЕ НОСЯТ ПЛАЩИ
13:11
мыш
Рет қаралды 7 М.
Introduction to OOPs in Python | Python Tutorial - Day #56
15:54
CodeWithHarry
Рет қаралды 361 М.
if __name__ == "__main__" in Python | Python Tutorial - Day #45
9:24
CodeWithHarry
Рет қаралды 242 М.
Dictionary in python
26:16
Chai aur Code
Рет қаралды 32 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 47 М.
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН