12. Lists: Hackerrank | Python Solution Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • In this tutorial I am showing you how to easily and efficiently tackle this hackerrank challenge. The video will also teach you the fundamentals and necessary operations to achieve that.
    #hackerranksolutions #pyhtonhackerrank #nestedlists #lists

ความคิดเห็น • 22

  • @lovehearts4437
    @lovehearts4437 6 หลายเดือนก่อน +5

    Do not stop. You have a gift of teaching concepts clearly....I was trying to solve this one for hours and watched plenty of videos ...after 4 hours of struggle ...I came across your video....finally understood.. thank you 🥺now I can sleep peacefully😂....you got a new subscriber✌️

    • @AmirCharkhi
      @AmirCharkhi  6 หลายเดือนก่อน +3

      Thank you for the really kind words - really appreciate the support and glad I am able to help you. Let me know if there are any other things you would like to see videos of or if you have any questions and more than happy to help. Welcome onborad :)

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

      @@AmirCharkhi thank you♥️

    • @mohammedbinmazi6957
      @mohammedbinmazi6957 22 วันที่ผ่านมา

      ​@@AmirCharkhi sir your teaching style is very unique and helpful sir plz start data science course for students

  • @NormieDead
    @NormieDead 4 หลายเดือนก่อน +1

    thank you so much for making me understnad this question.

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

      Thank you for watching and following the tutorials and glad I am able to help you💐

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

    Thaaanks again. But let me have a simple question this time. I’ve been learning python for about a year and my knowledge with the commands and codes is good. However, I noticed that every problem I struggle to solve I know each piece of code needed to solve it, I’m only not fully capable of matching the needs to solve the problem with my programming knowledge, so how I can improve my logical thinking and problem solving skills?!

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

      Will write a response soon mate - very busy week

  • @user-hc6sf1kr9r
    @user-hc6sf1kr9r 4 หลายเดือนก่อน +1

    good explanation.subscribe done

    • @AmirCharkhi
      @AmirCharkhi  4 หลายเดือนก่อน +1

      Thanks for the support mate and happy learning :)

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

    Hi, I would like to ask do you have ideas why when i wrote user_input = input().split() on my jupyter notebook it keeps telling me attribute error:'PyodideFuture' object has no attribute 'split'. I wrote it the exact same way you did but it doesn't work

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

    Hi, I'd like to ask do you have any ideas why when i tried doing the same thing you did by writing user_input = input().split() on my jupyter notebook it kept giving me the error message:AttributeError: 'PyodideFuture' object has no attribute 'split'. I wrote it the exact same way you did but I have no idea why this happens.

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

    Hey Amir, what if I have n number of inserts? in the above example, you are assuming that there are the 2 values that would be inserted.

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

      That's a great question! In the example, I only mentioned two values being inserted, but you can definitely have any number of inserts. The process would be the same, just repeated for each insert. Hope that helps!

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

    Thank you 🎉

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

      More than happy to help🙂 stay tuned for more videos💐

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

    One of the test cases is failing after using this method, any help would be appreciated.

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

      Which one did fail?🤔

  • @zahidalam7831
    @zahidalam7831 4 หลายเดือนก่อน +1

    My output is wrong

  • @francois-xaviermenage4531
    @francois-xaviermenage4531 5 หลายเดือนก่อน

    why before removing is it necessary to put a int()?

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

      The input that we give will be taken as string by default. If we give 5 as input, it will take '5' by default. So to convert integer string into an integer, we use int()

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

      Spot on!!! Thanks mate:)