1)List bracket type: [ ] 2)List are mutable: elements can be added, removed and be replaced 3)Both int and string can be in a same list 4)Slicing can be done in strings
1.List is made when we want to store different data with a single name. 2.the data is only differentiated by its index number. (indexing can be positive e.g 1,2,3 and negative -1,-2) 3.Lists are ordered and separated by , and enclosed in [ ]. 4.Lists are mutable. 5.Lists can have multiple data types. string and int in the same list but its not recommended. 6.if can be used to check if a data is available in the list. 7.List comprehension means generating lists during execution of program. conditions can also be given
Day5 of #100DaysOfCode. Today in this video 22, I learned that Python lists are ordered collections of data items, storing multiple items in a single variable. Lists can contain various data types and are changeable. Items in a list have unique indexes, accessible via positive and negative indexing. We can also check if an item is in a list, specify index ranges, and use list comprehensions to create new lists from other iterables based on conditions. Thank You Harry Bhaiya.
Sir I am Present. I Could not take the tutorials from last 4-5 days as Allah Kareem bless me a Baby Boy. Alhumdulliah. but i will cover these days by taking 2-3 tutorials per day. Thanks Harry bhae. Lots of respect from Pakistan
So i always had this problem about negative indexing for 2 years (yup...) And the string video made it so clear. Probably the easiest approach anyone can come up with.
the list comprehension consists of the expression x**2 (which calculates the square of x) and the for clause for x in range(10). This reads as: "create a list of the squares of x for each x in the range 0 to 9".
I was looking for this comment to understand the list comprehension. Thank you so much for explaining it so well, as Harry was in a bit hurry and forgot to explain how "i*i" works, or maybe he already explained in his previous lectures that perhaps I skipped or wasn't entirely focused on at that time. Thank you again.
#HarryBhai please post exercises. believe me it will 10x the understanding of the learners. your content is too good. tutorials are amazing. just it lacks exercises.
@harry Bhai I have watched your previous tutorial of python and complete it is very helpful .I am interested in data engineer but not getting perfect material or lectures for Hadoop and Apache spark thou I have learnt no SQL ,plsql, python I am suffering due to not having knowledge on Hadoop and Apache spark Please suggest and help in this part
# without using list comprehension a=[] for i in range(10): if i%2==0: c=i**2 a.append(c) print(a) # with using list comprehension # example 1 b=[j**2 for j in range(10) if j%2==0] print(b) # example 2 c=[5*k for k in range(1,11)] print(c)
Hey Harry! Amazing course! I have a question on editor shortcuts What shortcut did you use to rename lists in parallel at 2:02 You renamed 'l' to 'marks' simultaneously on rows 2 and 3. Keep up the great work!!!
Subtitles is frustrating because due to subtitles code never show and face difficulty please do something but all other things is very perfect and your way of teaching also very good ❤❤
I love you harry bhai,Thoda jruri Kam tha Khuch din 🎉pr ab Jld aapki latest class tk phunch jaawunga Harry bhai aapko Nehi pta aap mere liye sabse jyada ideal ho🎉
kon kon 100 days of code shuru se yaha tak dekh raha hai?
Me
Me
me
Meeeeeeee
Me
Code Backup Repository: github.com/CodeWithHarry/100-days-of-code-youtube
jiooooooooooooooooooooooo harryyy bbaaaiiiiiiiiii
mylsit =[applle,gaming,order"]
print(mylist)
print
1)List bracket type: [ ]
2)List are mutable: elements can be added, removed and be replaced
3)Both int and string can be in a same list
4)Slicing can be done in strings
Good
Also we can put multiple dictionary str and lists, tuple inside a list 👍
Bhaiya, vdio me aapne ik sath dono lines me l ko remove krke marks kse print kra??
how can we create a nested list using list comprehension
where can i get theory notes of python?
1.List is made when we want to store different data with a single name.
2.the data is only differentiated by its index number. (indexing can be positive e.g 1,2,3 and negative -1,-2)
3.Lists are ordered and separated by , and enclosed in [ ].
4.Lists are mutable.
5.Lists can have multiple data types. string and int in the same list but its not recommended.
6.if can be used to check if a data is available in the list.
7.List comprehension means generating lists during execution of program. conditions can also be given
Day5 of #100DaysOfCode. Today in this video 22, I learned that Python lists are ordered collections of data items, storing multiple items in a single variable. Lists can contain various data types and are changeable. Items in a list have unique indexes, accessible via positive and negative indexing. We can also check if an item is in a list, specify index ranges, and use list comprehensions to create new lists from other iterables based on conditions.
Thank You Harry Bhaiya.
Harry Bhai Allah pak apko bht kamyabi dyn Ameen apki wajh sy hum lrkiyan ghr bethy itna effective course kr rhy hain ♥️
Pakistan se hu
@@qasimgujjar8706 yes
@@sidzohra4055 ach
ap lrki ho wow
apna nmber da do ma bht acha sy guide kr do ga
Let see how many people are CONSISTENT in this amazing journey💪💪💪💪
I am consistent
Forever
@@JasvirSingh-jp7rs keep it up dude
👉👈😍
Chala ja chuchiye
Day #22 in 100DaysOf Code. You taught me list in a more detailed way than the school teachers.
Really our school and coaching centre only teach us vb 6.0 😂😂😂
@@clashingtv2527 ours qbasic lol
@@divyanshgarg5434 Me too
Pata nhi school mai paisa kis bat Ka deta Hi youtube se hi padh na hai😂
Pata nhi school mai paisa kis bat Ka deta Hi youtube se hi padh na hai😂
Actually, the 20 to 25 mins length of the video is good because it gives you enough time to explain in detail.
Sir I am Present. I Could not take the tutorials from last 4-5 days as Allah Kareem bless me a Baby Boy. Alhumdulliah. but i will cover these days by taking 2-3 tutorials per day. Thanks Harry bhae. Lots of respect from Pakistan
Thank you Harry bhai for giving these valuable content free👍
So i always had this problem about negative indexing for 2 years (yup...)
And the string video made it so clear. Probably the easiest approach anyone can come up with.
harry sir, I am very jealous of the zeal, the energy and the vigour with which you do these lectures !!! Hats off to you
Ye 1,4,9kaise aya
@@TechNova4567Its the output list of the expression i*i in list comprehension.
Thank you Harry sir ❤🙏 Sir jo mujhe 10k me course mil rha tha wo aap free me de rhe ho Thank you so Much 🙏 sir
You are a gem bro. Thank you
your WEB Development course is too much interesting .... thanks
#day22 wah! harry bhai kya lecture tha
Thank you very much, sir. You are the best coding teacher ever. Love form Bangladesh❤
This course is awesome 🔥🔥
the list comprehension consists of the expression x**2 (which calculates the square of x) and the for clause for x in range(10). This reads as: "create a list of the squares of x for each x in the range 0 to 9".
I was looking for this comment to understand the list comprehension. Thank you so much for explaining it so well, as Harry was in a bit hurry and forgot to explain how "i*i" works, or maybe he already explained in his previous lectures that perhaps I skipped or wasn't entirely focused on at that time. Thank you again.
Hi Harry sir, thanks for this wonderful course,
Can you please bring a tutorial on making a chatbot in python with AI
Reached here and will finish this entire playlist!!
Its a spoiler not a prediction!!
A great revision source
i agree
10:57 python throw the statement of else statement that is "No". Thank you Harry bhaiii🥰🥰🥰🥰🥰
Day 22 done
I am preparing for my practical exams of AI and your videos are really helpful. Thank you so much ❤
Day:22 Complete☑
Keep it up 🎉
Hii harry jo notes share kar rhe screen pe wo kaha pe milega?
@@surajrahul26 replit ke andar jo notes hain use download kar sakte ho.
isse achcha apne khud se sikh ke handwritten notes banao
comprehensive topic not even taught in udemy course thanks You make me more clear now
#HarryBhai, Please make 100 days of code for Data Structure and algorithm. it will be really helpful for me and as well for others.
Yes sir
Agreed
100 days of code for Data Structure and algorithm for python
Bro allready DSA vdo available on this Chanel u can chk
And agar bo wala cource ko dubara start Kiya jaye to aur acha hoga ..
new 100 days no need ..
@@suvrajitpanda3797 woh DSA on based c language pe hai aur hum python pe chahte hai
HACKER hai bhai Hacker ❤😅
can you like, premiere your videos from next time? that way we get the live chat option too
day#22 done harry bhai!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#HarryBhai please post exercises. believe me it will 10x the understanding of the learners. your content is too good. tutorials are amazing. just it lacks exercises.
I like the way you said that you do not use negative indexing....appreciated!
@harry Bhai I have watched your previous tutorial of python and complete it is very helpful .I am interested in data engineer but not getting perfect material or lectures for Hadoop and Apache spark thou I have learnt no SQL ,plsql, python I am suffering due to not having knowledge on Hadoop and Apache spark
Please suggest and help in this part
Harry Bhai Thank You for this amazing course
Ap ne meri programming journey me bht help ki ha thanks a lot for that
Day -22
Present
#CodeWithHarry
#PythonChallenge
# without using list comprehension
a=[]
for i in range(10):
if i%2==0:
c=i**2
a.append(c)
print(a)
# with using list comprehension
# example 1
b=[j**2 for j in range(10) if j%2==0]
print(b)
# example 2
c=[5*k for k in range(1,11)]
print(c)
Day #11 of asking to make a discord server
L=[i*5 for i in range(11)]
print(h)
# for printing 5 table
Hey Harry! Amazing course!
I have a question on editor shortcuts
What shortcut did you use to rename lists in parallel at 2:02
You renamed 'l' to 'marks' simultaneously on rows 2 and 3.
Keep up the great work!!!
just press alt and drop cursor wherever needed...
late reply as always...
press ctrl and click on where you want to add a cursor
just hold alt and click where you want a new cursor to appear
you are the best teacher love you from bihar
So I am making a big code with the knowledge given everyday and the code is now 549 lines big 💀
can you share it?
@@ToonTopia6 why not it's now 600+ lines
Good did you complete it
Wanna share it ?
@@JumpingRock-oo7br do you have dc?
Pranam bhrata 🙏 apka bahutt baht dhanyawad ❤️😌🙏😇😇🧡
अपने भाषा मे समजणे का मजा हि कूच और हे. 👍
Right here, Sir!
#DAY22 COMPLETED
THANK YOU #CodeWithHarry
Present Harry Sir.
You are amazing Harry Bhai. Aaaj toe 2 hi videos samajh paya...
Day-22 completed
Aur aapka explained method sa time ka pata he nahi chalta 🥰🥰
impressive... one of the best codding teacher... love from pakistan
Day 22 Present Sir
10:26 yes ayega
Harry deserves 100M subscribers , views and likes .
Present Harry bhaiya 🙂
Day 22 done !
PRESENT #22 DAY
guru jiii❤❤
Big fan Harry bhai💗
Day 22 done ✅
a=[2,3,4,5,6,7,9]
for i in a:
print(i)
# replace element
b=[2,3,4,'ajay','vikram',3.2,True]
print(b)
b[5]=4.5
print(b)
# append list with square braket
c=[2,3,4,'ajay','vikram',3.2,True]
d=[3,4,'hello',3.3]
c.append(d)
print(c)
# append list without square braket
e=[2,3,4,'ajay','vikram',3.2,True]
f=[3,4,'hello',3.3]
e.extend(f)
print(e)
'''
1) ordered
2) mutable
3) dynamic
4) Heterogeneous Elements:
5) nesting
'''
day 22💥
nice video keep it up by giving us new courses
Bhai aaj ki video ki editing Kafi acchi hai😊😊😊😊
Thank you sir it take two days to grasp this knowledge
love from the northern areas of pakistan
Hello Harry bhai
excellent explanation ! thanks
Present sir 🤚
Present Sir!
Thank you sir ❤
Day 22 🔥
Thanx harry bhai ajj mene appne app calc with (if else and match case) or tables ka program banaya 😅, I know it's easy
#Day22 is done ✅
Why indexing is starting from 0.
That's the rule
Day22-PRESENT SIR!
Present Sir 🔥
Thank you sir, your videos have helped a lot 🙏🙏🙏
thank you LEGEND.....
Yes
you helped me very much thank you
Present Sir
Aj maza agaya
Majja hi majja. You are a best teacher in world and quite easily explain ❤❤❤ great sir ❤❤❤
Day 22 Completed
#100DaysOfCode
Day #22 done
Ah! I used to think that adding a for loop and other conditions inside a list, is a part of Lambda expression. Great explanation ^_^
You concept of negative index it was really great :)
Subtitles is frustrating because due to subtitles code never show and face difficulty please do something but all other things is very perfect and your way of teaching also very good ❤❤
First comment.. you are great herry sir
Enjoying 😍the python
I love you harry bhai,Thoda jruri Kam tha Khuch din 🎉pr ab Jld aapki latest class tk phunch jaawunga
Harry bhai aapko Nehi pta aap mere liye sabse jyada ideal ho🎉
day 22 completed
Your best♥️
We like the Harry courses 💙🤞
#day 22 done
Present, the 2 day gap will be complete today, thanks
That's a great course
Present Sir, #Day_6 !!!!!!
coding teaching legend #harrybhai