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
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✌️
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 :)
@@AmirCharkhi thank you♥️
@@AmirCharkhi sir your teaching style is very unique and helpful sir plz start data science course for students
thank you so much for making me understnad this question.
Thank you for watching and following the tutorials and glad I am able to help you💐
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?!
Will write a response soon mate - very busy week
good explanation.subscribe done
Thanks for the support mate and happy learning :)
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
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.
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.
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!
Thank you 🎉
More than happy to help🙂 stay tuned for more videos💐
One of the test cases is failing after using this method, any help would be appreciated.
Which one did fail?🤔
My output is wrong
why before removing is it necessary to put a int()?
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()
Spot on!!! Thanks mate:)