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

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 1,2 тыс.

  • @CodeWithHarry
    @CodeWithHarry  Год назад +1738

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

  • @CodeWithHarry
    @CodeWithHarry  Год назад +31

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

    • @MirzaAmmarofficial
      @MirzaAmmarofficial 3 месяца назад

      jiooooooooooooooooooooooo harryyy bbaaaiiiiiiiiii

    • @sskilledgame4132
      @sskilledgame4132 16 дней назад

      mylsit =[applle,gaming,order"]
      print(mylist)
      print

  • @samarthgohri.
    @samarthgohri. Год назад +100

    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?

  • @sohailnawaz1811
    @sohailnawaz1811 Год назад +10

    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 Год назад +12

    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 Год назад +7

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

  • @tajinder715
    @tajinder715 Год назад +267

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

  • @thatcoolkid370
    @thatcoolkid370 Год назад +66

    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 10 месяцев назад

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

    • @BhaiKbhai-l2q
      @BhaiKbhai-l2q 10 месяцев назад

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

  • @divyajitsinhparmar9088
    @divyajitsinhparmar9088 Год назад +20

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

  • @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

  • @technologybyEr74
    @technologybyEr74 Год назад +25

    Thank you Harry bhai for giving these valuable content free👍

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

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

  • @digitaldev1717
    @digitaldev1717 Год назад +2

    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

  • @meeradnanbaloch1171
    @meeradnanbaloch1171 Год назад +7

    You are a gem bro. Thank you

  • @manojahlawat2881
    @manojahlawat2881 Год назад +2

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

  • @CoderzGaming093
    @CoderzGaming093 Год назад +3

    #day22 wah! harry bhai kya lecture tha

  • @farhansadik2351
    @farhansadik2351 7 месяцев назад +2

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

  • @amitranjeetjha1240
    @amitranjeetjha1240 Год назад +3

    This course is awesome 🔥🔥

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

  • @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

  • @biswajeet9826
    @biswajeet9826 4 месяца назад +1

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

  • @dvrsb1331
    @dvrsb1331 Год назад +5

    A great revision source

  • @ShubhamKumar-kf3rb
    @ShubhamKumar-kf3rb Год назад +2

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

  • @incredible4u872
    @incredible4u872 Год назад +3

    Day 22 done

  • @pragyaojha9787
    @pragyaojha9787 3 месяца назад

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

  • @devkarankvaghasiya194
    @devkarankvaghasiya194 Год назад +3

    Day:22 Complete☑

    • @surajrahul26
      @surajrahul26 6 месяцев назад

      Keep it up 🎉

    • @surajrahul26
      @surajrahul26 6 месяцев назад +1

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

    • @devkarankvaghasiya194
      @devkarankvaghasiya194 6 месяцев назад

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

  • @rohitgarg4446
    @rohitgarg4446 Год назад +1

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

  • @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

  • @Nyukk11
    @Nyukk11 7 месяцев назад +2

    HACKER hai bhai Hacker ❤😅

  • @AnksioXD
    @AnksioXD Год назад +4

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

  • @InfiniteIntelligence-Official
    @InfiniteIntelligence-Official 7 месяцев назад +2

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

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

  • @NidhiKumari-vu3oj
    @NidhiKumari-vu3oj 6 месяцев назад

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

  • @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

  • @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

  • @KoushikDas2005
    @KoushikDas2005 Год назад +4

    Day -22
    Present
    #CodeWithHarry
    #PythonChallenge

  • @vaibhavsoni4680
    @vaibhavsoni4680 11 месяцев назад

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

  • @shaon1412
    @shaon1412 Год назад +11

    Day #11 of asking to make a discord server

  • @cyber.mitanshu
    @cyber.mitanshu Год назад +1

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

  • @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

  • @sriramkumar971
    @sriramkumar971 Год назад +1

    you are the best teacher love you from bihar

  • @Yoriichi.Tsugikuni_The_goat
    @Yoriichi.Tsugikuni_The_goat 8 месяцев назад +21

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

  • @anonymous____________________4
    @anonymous____________________4 Год назад +1

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

  • @pankajshinde5754
    @pankajshinde5754 5 месяцев назад

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

  • @MorallyBankrupt21
    @MorallyBankrupt21 4 месяца назад +1

    Right here, Sir!

  • @__ayu
    @__ayu Год назад +1

    #DAY22 COMPLETED
    THANK YOU #CodeWithHarry

  • @niteshch9166
    @niteshch9166 Год назад +1

    Present Harry Sir.

  • @infodiff
    @infodiff 6 месяцев назад

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

  • @AnEngineerHuman
    @AnEngineerHuman Год назад +2

    Day-22 completed

  • @UjjwalKumar-rw4ke
    @UjjwalKumar-rw4ke Год назад +1

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

  • @dawood3924
    @dawood3924 4 месяца назад

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

  • @prayasyadav4331
    @prayasyadav4331 Год назад +2

    Day 22 Present Sir

  • @KoushikDas2005
    @KoushikDas2005 Год назад +2

    10:26 yes ayega

  • @DevelopersClub-is1wm
    @DevelopersClub-is1wm 6 месяцев назад

    Harry deserves 100M subscribers , views and likes .

  • @DineVlogs
    @DineVlogs Год назад +1

    Present Harry bhaiya 🙂

  • @stackritesh
    @stackritesh Год назад +1

    Day 22 done !

  • @P.D.STORYBOARD
    @P.D.STORYBOARD 6 дней назад +1

    PRESENT #22 DAY

  • @prathmeshsharma3332
    @prathmeshsharma3332 7 месяцев назад +1

    guru jiii❤❤

  • @badalsahoo3902
    @badalsahoo3902 Год назад +2

    Big fan Harry bhai💗

  • @marvel_united_cr7
    @marvel_united_cr7 6 месяцев назад +1

    Day 22 done ✅

  • @vaibhavsoni4680
    @vaibhavsoni4680 11 месяцев назад

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

  • @pratikshelke7493
    @pratikshelke7493 Год назад +2

    day 22💥

  • @mugheesakram1323
    @mugheesakram1323 Год назад +1

    nice video keep it up by giving us new courses

  • @AbdulkhaliqKz
    @AbdulkhaliqKz 3 месяца назад

    Bhai aaj ki video ki editing Kafi acchi hai😊😊😊😊

  • @AasmaniKhazana
    @AasmaniKhazana 6 месяцев назад

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

  • @rishabhdhoni
    @rishabhdhoni Год назад

    Hello Harry bhai

  • @tanvirgsm
    @tanvirgsm 2 месяца назад

    excellent explanation ! thanks

  • @NEERAJ-dw9bt
    @NEERAJ-dw9bt 9 месяцев назад +1

    Present sir 🤚

  • @Nuvora.OFFICIAL
    @Nuvora.OFFICIAL Год назад +1

    Present Sir!

  • @GK-World481
    @GK-World481 Год назад +1

    Thank you sir ❤

  • @Radhe_radhe2929
    @Radhe_radhe2929 Год назад +1

    Day 22 🔥

  • @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

  • @hameedkhan31634
    @hameedkhan31634 Год назад +1

    #Day22 is done ✅

  • @rishabhdhoni
    @rishabhdhoni Год назад +2

    Why indexing is starting from 0.

  • @yatindrapabbati6878
    @yatindrapabbati6878 Год назад +1

    Day22-PRESENT SIR!

  • @Manish-qt1bz
    @Manish-qt1bz Год назад +1

    Present Sir 🔥

  • @ShiningStar.07
    @ShiningStar.07 27 дней назад

    Thank you sir, your videos have helped a lot 🙏🙏🙏

  • @machhindrasmathematics2551
    @machhindrasmathematics2551 Год назад +1

    thank you LEGEND.....

  • @ghusandgamin
    @ghusandgamin Год назад +1

    Yes

  • @rishupahadi12
    @rishupahadi12 Год назад +1

    you helped me very much thank you

  • @sudhansubalasahoo
    @sudhansubalasahoo Год назад

    Present Sir
    Aj maza agaya

  • @babamusic8538
    @babamusic8538 Год назад

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

  • @Iamsae
    @Iamsae Год назад +1

    Day 22 Completed
    #100DaysOfCode

  • @mariamhasan3733
    @mariamhasan3733 Год назад +1

    Day #22 done

  • @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 ^_^

  • @manavshah6860
    @manavshah6860 8 месяцев назад

    You concept of negative index it was really great :)

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

  • @ScienceTechnology360
    @ScienceTechnology360 Год назад +1

    First comment.. you are great herry sir

  • @kapilsharma1.1M
    @kapilsharma1.1M Год назад +1

    Enjoying 😍the python

  • @mohammadriyaj3809
    @mohammadriyaj3809 Год назад

    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🎉

  • @gamex9553
    @gamex9553 Год назад +1

    day 22 completed

  • @khushboodubey2647
    @khushboodubey2647 Год назад +1

    Your best♥️

  • @pruthvirajkhade71
    @pruthvirajkhade71 Год назад +1

    We like the Harry courses 💙🤞

  • @deekshithaparasu
    @deekshithaparasu Год назад +1

    #day 22 done

  • @m.yaseenm.yaseen8179
    @m.yaseenm.yaseen8179 Год назад +1

  • @yashyadav3405
    @yashyadav3405 18 дней назад

    Present, the 2 day gap will be complete today, thanks

  • @nerd856
    @nerd856 Год назад +1

    That's a great course

  • @LASTSTRANGER
    @LASTSTRANGER Год назад +1

    Present Sir, #Day_6 !!!!!!

  • @kapilsharma1.1M
    @kapilsharma1.1M Год назад +1

    coding teaching legend #harrybhai