Introduction to Lists in Python | Python Tutorial - Day #22

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 1.1K

  • @CodeWithHarry
    @CodeWithHarry  ปีที่แล้ว +1695

    kon kon 100 days of code shuru se yaha tak dekh raha hai?

  • @samarthgohri.
    @samarthgohri. ปีที่แล้ว +97

    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

    • @CodeWithChiragCC
      @CodeWithChiragCC ปีที่แล้ว +2

      Good

    • @clashingtv2527
      @clashingtv2527 ปีที่แล้ว +2

      Also we can put multiple dictionary str and lists, tuple inside a list 👍

    • @american_bully
      @american_bully ปีที่แล้ว

      Bhaiya, vdio me aapne ik sath dono lines me l ko remove krke marks kse print kra??

    • @samarthchugh4633
      @samarthchugh4633 ปีที่แล้ว

      how can we create a nested list using list comprehension

    • @unstoppablesaad1978
      @unstoppablesaad1978 ปีที่แล้ว

      where can i get theory notes of python?

  • @CodeWithHarry
    @CodeWithHarry  ปีที่แล้ว +27

    Code Backup Repository: github.com/CodeWithHarry/100-days-of-code-youtube

    • @MirzaAmmarofficial
      @MirzaAmmarofficial หลายเดือนก่อน

      jiooooooooooooooooooooooo harryyy bbaaaiiiiiiiiii

  • @tajinder715
    @tajinder715 ปีที่แล้ว +263

    Let see how many people are CONSISTENT in this amazing journey💪💪💪💪

  • @sohailnawaz1811
    @sohailnawaz1811 ปีที่แล้ว +8

    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

  • @debasishbesra2901
    @debasishbesra2901 ปีที่แล้ว +11

    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.

  • @sidzohra4055
    @sidzohra4055 ปีที่แล้ว +6

    Harry Bhai Allah pak apko bht kamyabi dyn Ameen apki wajh sy hum lrkiyan ghr bethy itna effective course kr rhy hain ♥️

    • @qasimgujjar8706
      @qasimgujjar8706 ปีที่แล้ว

      Pakistan se hu

    • @sidzohra4055
      @sidzohra4055 ปีที่แล้ว

      @@qasimgujjar8706 yes

    • @qasimgujjar8706
      @qasimgujjar8706 ปีที่แล้ว

      @@sidzohra4055 ach

    • @azeem7762
      @azeem7762 5 หลายเดือนก่อน

      ap lrki ho wow
      apna nmber da do ma bht acha sy guide kr do ga

  • @thatcoolkid370
    @thatcoolkid370 ปีที่แล้ว +64

    Day #22 in 100DaysOf Code. You taught me list in a more detailed way than the school teachers.

    • @clashingtv2527
      @clashingtv2527 ปีที่แล้ว +2

      Really our school and coaching centre only teach us vb 6.0 😂😂😂

    • @divyanshgarg5434
      @divyanshgarg5434 ปีที่แล้ว +1

      @@clashingtv2527 ours qbasic lol

    • @shaheeraziz1573
      @shaheeraziz1573 ปีที่แล้ว +2

      @@divyanshgarg5434 Me too

    • @BhaiKbhai-l2q
      @BhaiKbhai-l2q 8 หลายเดือนก่อน

      Pata nhi school mai paisa kis bat Ka deta Hi youtube se hi padh na hai😂

    • @BhaiKbhai-l2q
      @BhaiKbhai-l2q 8 หลายเดือนก่อน

      Pata nhi school mai paisa kis bat Ka deta Hi youtube se hi padh na hai😂

  • @technologybyEr74
    @technologybyEr74 ปีที่แล้ว +25

    Thank you Harry bhai for giving these valuable content free👍

  • @sajidimran414
    @sajidimran414 ปีที่แล้ว +2

    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

  • @YashGaneriwal
    @YashGaneriwal ปีที่แล้ว +5

    harry sir, I am very jealous of the zeal, the energy and the vigour with which you do these lectures !!! Hats off to you

    • @TechNova4567
      @TechNova4567 ปีที่แล้ว

      Ye 1,4,9kaise aya

    • @whoisit9285
      @whoisit9285 ปีที่แล้ว +1

      ​@@TechNova4567Its the output list of the expression i*i in list comprehension.

  • @farhansadik2351
    @farhansadik2351 6 หลายเดือนก่อน +2

    Thank you very much, sir. You are the best coding teacher ever. Love form Bangladesh❤

  • @music4tune
    @music4tune ปีที่แล้ว +5

    Hi Harry sir, thanks for this wonderful course,
    Can you please bring a tutorial on making a chatbot in python with AI

  • @manojahlawat2881
    @manojahlawat2881 ปีที่แล้ว +2

    your WEB Development course is too much interesting .... thanks

  • @meeradnanbaloch1171
    @meeradnanbaloch1171 ปีที่แล้ว +7

    You are a gem bro. Thank you

  • @devangjoshi4932
    @devangjoshi4932 ปีที่แล้ว +2

    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".

    • @KamranMumtazAhmed
      @KamranMumtazAhmed ปีที่แล้ว +1

      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.

  • @divyajitsinhparmar9088
    @divyajitsinhparmar9088 ปีที่แล้ว +18

    Actually, the 20 to 25 mins length of the video is good because it gives you enough time to explain in detail.

  • @rohitgarg4446
    @rohitgarg4446 ปีที่แล้ว +1

    comprehensive topic not even taught in udemy course thanks You make me more clear now

  • @PinkuKumar-ro8bw
    @PinkuKumar-ro8bw ปีที่แล้ว +4

    @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

  • @srinandasarkar4221
    @srinandasarkar4221 ปีที่แล้ว +2

    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.

  • @dvrsb1331
    @dvrsb1331 ปีที่แล้ว +5

    A great revision source

  • @NidhiKumari-vu3oj
    @NidhiKumari-vu3oj 5 หลายเดือนก่อน

    I like the way you said that you do not use negative indexing....appreciated!

  • @CoderzGaming093
    @CoderzGaming093 ปีที่แล้ว +3

    #day22 wah! harry bhai kya lecture tha

  • @pragyaojha9787
    @pragyaojha9787 2 หลายเดือนก่อน

    I am preparing for my practical exams of AI and your videos are really helpful. Thank you so much ❤

  • @AnksioXD
    @AnksioXD ปีที่แล้ว +4

    can you like, premiere your videos from next time? that way we get the live chat option too

  • @cyber.mitanshu
    @cyber.mitanshu ปีที่แล้ว +1

    L=[i*5 for i in range(11)]
    print(h)
    # for printing 5 table

  • @incredible4u872
    @incredible4u872 ปีที่แล้ว +3

    Day 22 done

  • @Mr.nobody000
    @Mr.nobody000 ปีที่แล้ว +1

    Harry Bhai Thank You for this amazing course
    Ap ne meri programming journey me bht help ki ha thanks a lot for that

  • @aadityabasak
    @aadityabasak ปีที่แล้ว +12

    #HarryBhai, Please make 100 days of code for Data Structure and algorithm. it will be really helpful for me and as well for others.

    • @abhiupadhyay5337
      @abhiupadhyay5337 ปีที่แล้ว +1

      Yes sir

    • @helinity1743
      @helinity1743 ปีที่แล้ว +1

      Agreed

    • @believeitsreal
      @believeitsreal ปีที่แล้ว

      100 days of code for Data Structure and algorithm for python

    • @suvrajitpanda3797
      @suvrajitpanda3797 ปีที่แล้ว +1

      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 ..

    • @tanmaydash803
      @tanmaydash803 ปีที่แล้ว +1

      @@suvrajitpanda3797 woh DSA on based c language pe hai aur hum python pe chahte hai

  • @ShubhamKumar-kf3rb
    @ShubhamKumar-kf3rb ปีที่แล้ว +2

    10:57 python throw the statement of else statement that is "No". Thank you Harry bhaiii🥰🥰🥰🥰🥰

  • @amitranjeetjha1240
    @amitranjeetjha1240 ปีที่แล้ว +3

    This course is awesome 🔥🔥

  • @biswajeet9826
    @biswajeet9826 3 หลายเดือนก่อน +1

    Reached here and will finish this entire playlist!!
    Its a spoiler not a prediction!!

  • @devkarankvaghasiya194
    @devkarankvaghasiya194 ปีที่แล้ว +3

    Day:22 Complete☑

    • @surajrahul26
      @surajrahul26 5 หลายเดือนก่อน

      Keep it up 🎉

    • @surajrahul26
      @surajrahul26 5 หลายเดือนก่อน +1

      Hii harry jo notes share kar rhe screen pe wo kaha pe milega?

    • @devkarankvaghasiya194
      @devkarankvaghasiya194 5 หลายเดือนก่อน

      ​@@surajrahul26 replit ke andar jo notes hain use download kar sakte ho.
      isse achcha apne khud se sikh ke handwritten notes banao

  • @dawood3924
    @dawood3924 3 หลายเดือนก่อน

    impressive... one of the best codding teacher... love from pakistan

  • @ManishKumar-ol8tu
    @ManishKumar-ol8tu ปีที่แล้ว +4

    #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.

  • @digitaldev1717
    @digitaldev1717 ปีที่แล้ว +1

    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

  • @zeshanae
    @zeshanae ปีที่แล้ว +4

    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!!!

    • @hoarder69
      @hoarder69 ปีที่แล้ว +1

      just press alt and drop cursor wherever needed...
      late reply as always...

    • @khushalgurjar9945
      @khushalgurjar9945 ปีที่แล้ว +1

      press ctrl and click on where you want to add a cursor

    • @st443ts5
      @st443ts5 ปีที่แล้ว +1

      just hold alt and click where you want a new cursor to appear

  • @aaravsharma9150
    @aaravsharma9150 2 หลายเดือนก่อน +1

    Can you start a intermediate and advanced level of series of python?

  • @KoushikDas2005
    @KoushikDas2005 ปีที่แล้ว +4

    Day -22
    Present
    #CodeWithHarry
    #PythonChallenge

  • @sriramkumar971
    @sriramkumar971 11 หลายเดือนก่อน +1

    you are the best teacher love you from bihar

  • @shaon1412
    @shaon1412 ปีที่แล้ว +11

    Day #11 of asking to make a discord server

  • @__ayu
    @__ayu ปีที่แล้ว +1

    #DAY22 COMPLETED
    THANK YOU #CodeWithHarry

  • @Yoriichi.Tsugikuni_The_goat
    @Yoriichi.Tsugikuni_The_goat 7 หลายเดือนก่อน +21

    So I am making a big code with the knowledge given everyday and the code is now 549 lines big 💀

  • @UjjwalKumar-rw4ke
    @UjjwalKumar-rw4ke ปีที่แล้ว +1

    Aur aapka explained method sa time ka pata he nahi chalta 🥰🥰

  • @modratoryt8081
    @modratoryt8081 ปีที่แล้ว +1

    Thanx harry bhai ajj mene appne app calc with (if else and match case) or tables ka program banaya 😅, I know it's easy

  • @AnEngineerHuman
    @AnEngineerHuman ปีที่แล้ว +2

    Day-22 completed

  • @infodiff
    @infodiff 4 หลายเดือนก่อน

    You are amazing Harry Bhai. Aaaj toe 2 hi videos samajh paya...

  • @MorallyBankrupt21
    @MorallyBankrupt21 3 หลายเดือนก่อน +1

    Right here, Sir!

  • @imransuleman151
    @imransuleman151 ปีที่แล้ว +1

    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 ❤❤

  • @rishupahadi12
    @rishupahadi12 ปีที่แล้ว +1

    you helped me very much thank you

  • @stackritesh
    @stackritesh ปีที่แล้ว +1

    Day 22 done !

  • @AasmaniKhazana
    @AasmaniKhazana 4 หลายเดือนก่อน

    Thank you sir it take two days to grasp this knowledge
    love from the northern areas of pakistan

  • @manavshah6860
    @manavshah6860 7 หลายเดือนก่อน

    You concept of negative index it was really great :)

  • @anonymous____________________4
    @anonymous____________________4 ปีที่แล้ว +1

    Pranam bhrata 🙏 apka bahutt baht dhanyawad ❤️😌🙏😇😇🧡

  • @prayasyadav4331
    @prayasyadav4331 ปีที่แล้ว +2

    Day 22 Present Sir

  • @AayanMajid-xe8vm
    @AayanMajid-xe8vm 6 หลายเดือนก่อน +2

    day#22 done harry bhai!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @tanvirgsm
    @tanvirgsm หลายเดือนก่อน

    excellent explanation ! thanks

  • @DevelopersClub-is1wm
    @DevelopersClub-is1wm 5 หลายเดือนก่อน

    Harry deserves 100M subscribers , views and likes .

  • @rishabhdhoni
    @rishabhdhoni ปีที่แล้ว +2

    Why indexing is starting from 0.

  • @GK-World481
    @GK-World481 ปีที่แล้ว +1

    Thank you sir ❤

  • @Rishabh-op6kc
    @Rishabh-op6kc ปีที่แล้ว

    Hi Harry@CodeWithHarry, you are doing a great job, Thanks.
    I just wanted to tell that the volume of the voice is low. Please do something about this.
    Thanks

  • @happysharma6752
    @happysharma6752 11 หลายเดือนก่อน

    if we have every topic best practice questions the course will be more wonderful

  • @tarungandhi8402
    @tarungandhi8402 11 หลายเดือนก่อน

    6 is as string but in list it is integer ... hence it will print no

  • @vaibhavsoni4680
    @vaibhavsoni4680 10 หลายเดือนก่อน

    # 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)

  • @niteshch9166
    @niteshch9166 ปีที่แล้ว +1

    Present Harry Sir.

  • @codingwithcode3083
    @codingwithcode3083 ปีที่แล้ว +1

    harry bhai aap konsa editor software use Karte ho video ko edit ke liye please name bataeye

  • @badalsahoo3902
    @badalsahoo3902 ปีที่แล้ว +2

    Big fan Harry bhai💗

  • @devtomar8472
    @devtomar8472 10 หลายเดือนก่อน

    Harry bhai repl ke under jab niche ki taraf jate ho to use mouse se upper ke tarf kar liya karo, subtitles ki vajah se vh dhak jata hai aur hame dikhta nahi hai ❤

  • @educations12
    @educations12 ปีที่แล้ว +1

    can we take input from user in this list case

  • @mugheesakram1323
    @mugheesakram1323 ปีที่แล้ว +1

    nice video keep it up by giving us new courses

  • @babamusic8538
    @babamusic8538 ปีที่แล้ว

    Majja hi majja. You are a best teacher in world and quite easily explain ❤❤❤ great sir ❤❤❤

  • @machhindrasmathematics2551
    @machhindrasmathematics2551 ปีที่แล้ว +1

    thank you LEGEND.....

  • @gamex9553
    @gamex9553 ปีที่แล้ว +1

    day 22 completed

  • @Khemchandbhatiya4
    @Khemchandbhatiya4 ปีที่แล้ว +2

    Harry bro please provide it's notes because when I open fork repel it gives interpreter only so I know you would available this from tomorrow

  • @theartandcraftcreation9350
    @theartandcraftcreation9350 9 หลายเดือนก่อน +1

    Like arrays in Javascript

  • @khushboodubey2647
    @khushboodubey2647 ปีที่แล้ว +1

    Your best♥️

  • @mariamhasan3733
    @mariamhasan3733 ปีที่แล้ว +1

    Day #22 done

  • @ReenaNagar-ve9fm
    @ReenaNagar-ve9fm 11 หลายเดือนก่อน

    I really want to learn python beginners to advance ❤....🎉😊❤❤

  • @kapilsharma1.1M
    @kapilsharma1.1M ปีที่แล้ว +1

    Enjoying 😍the python

  • @rishabhyadav7161
    @rishabhyadav7161 4 หลายเดือนก่อน

    do we have to practice dsa from leetcode like platforms everyday after watching these videos?

  • @shariquerahmani4329
    @shariquerahmani4329 8 หลายเดือนก่อน

    i am currently in day 22 and its amazing. 🤩🤩

  • @prathmeshsharma3332
    @prathmeshsharma3332 6 หลายเดือนก่อน +1

    guru jiii❤❤

  • @pruthvirajkhade71
    @pruthvirajkhade71 ปีที่แล้ว +1

    We like the Harry courses 💙🤞

  • @thebearguym
    @thebearguym ปีที่แล้ว +1

    Ah! I used to think that adding a for loop and other conditions inside a list, is a part of Lambda expression. Great explanation ^_^

  • @Nyukk11
    @Nyukk11 6 หลายเดือนก่อน +2

    HACKER hai bhai Hacker ❤😅

  • @pankajshinde5754
    @pankajshinde5754 4 หลายเดือนก่อน

    अपने भाषा मे समजणे का मजा हि कूच और हे. 👍

  • @pratikshelke7493
    @pratikshelke7493 ปีที่แล้ว +2

    day 22💥

  • @KoushikDas2005
    @KoushikDas2005 ปีที่แล้ว +2

    10:26 yes ayega

  • @prajwals_0209
    @prajwals_0209 ปีที่แล้ว

    Harry bhai can you make a video of ...what to do next once after completing the your course....in java aswell as python.

  • @ShubhamKumar-kf3rb
    @ShubhamKumar-kf3rb ปีที่แล้ว +1

    10:30 The python throw the statement of if statement that is "yes"

  • @codinghub_IITG
    @codinghub_IITG 5 หลายเดือนก่อน +1

    Day 22 done ✅

  • @VisaToExploreCoding
    @VisaToExploreCoding ปีที่แล้ว

    After learning python, django, rest api .. What is the future scope.? Please reply?

  • @md.abdullahalmamun960
    @md.abdullahalmamun960 ปีที่แล้ว +1

    assalamu alaikum
    thank u harry bi

  • @ajeetpal5024
    @ajeetpal5024 ปีที่แล้ว +2

    Sir please teach us WinAPI programming tooo using C Programming 🥺🥺

  • @gailchodi
    @gailchodi 11 หลายเดือนก่อน

    what will it print for negative jump.
    for eg: print(lst[1,5,-2])

  • @nileshjain3935
    @nileshjain3935 ปีที่แล้ว

    You are very good bro.thank you

  • @ScienceTechnology360
    @ScienceTechnology360 ปีที่แล้ว +1

    First comment.. you are great herry sir

  • @tafseerahmad7383
    @tafseerahmad7383 10 หลายเดือนก่อน +1

    day 22 completed stoic.

  • @technikalproblem6780
    @technikalproblem6780 ปีที่แล้ว

    Thank sir for creating this video! By the way intro bahut accha ha series ka.

  • @ghusandgamin
    @ghusandgamin ปีที่แล้ว +1

    Yes