12 ESSENTIAL PYTHON INTERVIEW QUESTIONS (20,000 Subscriber GIVEAWAY!)

Поділитися
Вставка
  • Опубліковано 19 сер 2024

КОМЕНТАРІ • 81

  • @JoshuaFluke1
    @JoshuaFluke1  6 років тому +22

    This video isn't sponsored - I really had no idea they were sending me a box. Just want to be as transparent as possible.

    • @sinki19841984
      @sinki19841984 6 років тому +8

      opacity: 0.1;

    • @sieve5
      @sieve5 6 років тому +1

      haha I love the css joke.

  • @hungnq1989
    @hungnq1989 3 роки тому +39

    TOC:
    1. Python is interpreted language - what does it mean? (2:29)
    2. Python is dynamically typed- what does it mean? (2:41)
    3. Python can be slow - what are some ways to optimize? (3:06)
    4. What is python dictionary data type? (3:26)
    5. What is *args and **kwargs? (3:47)
    6. What is a negative index in python? (4:12)
    7. Try..except..else statement (4:47)
    8. What is floor division //? (5:21)
    9. How you randomize a list? (6:02)
    10. How is memory managed in python? (6:30)
    11. Are argument in python pass by value or by reference? (7:11)
    12. What are the immutable and mutable data types in python? (7:28)

  • @ferrari6975
    @ferrari6975 2 роки тому +6

    This video is loads of help! As someone looking for an entry level python job, this is definitely a great help for interview prep and what to expect. I've been coding for almost a year now, but the coding interviews are what scare me most lol

  • @pythonaboveclevel272
    @pythonaboveclevel272 6 років тому +3

    Q. Randomize a LIST
    from random import shuffle
    x = [[i] for i in range(10)]
    shuffle(x)
    # print x gives [[9], [2], [7], [0], [4], [5], [3], [1], [8], [6]]
    # of course your results will vary

  • @shrinivasiyengar5799
    @shrinivasiyengar5799 2 роки тому +2

    The pass-by-value and pass-by reference explanation felt a little ambiguous, can you expand a little more?

  • @MrJohnnyPetey
    @MrJohnnyPetey 6 років тому +15

    Python's where it's at....yah know

  • @ncinaah
    @ncinaah 6 років тому +5

    Nice video! I had a Python specific interview not too long ago and was asked some other questions that I felt were pretty important for Python devs to know too, eg. What is the GIL?, What are differences between Python 2/3?

    • @tyrantula767
      @tyrantula767 4 роки тому

      I think Gil is for multi/parallel processing. Python 3 uses parentheses for the print function.

    • @tizyanoonie8483
      @tizyanoonie8483 4 роки тому

      I think GIL is more middle-level question. But it's good to know what it is.

  • @hfbroady
    @hfbroady 6 років тому +3

    Nice vid. Like the different camera angle. Python is where it's at!!!!!!

  • @danielkeehl7450
    @danielkeehl7450 4 роки тому +1

    Didn't expect these questions to be that easy

  • @sethnuzum
    @sethnuzum 6 років тому

    Hey Josh! I’ve been watching your videos for quite a while now, and the level of value I get out of your channel is massive!! I’m a Computer Science major and love to code, so I would absolutely love that Team Treehouse shirt! Thanks man!

  • @blindeuphoric
    @blindeuphoric 6 років тому

    You're the man! Tons of drive and pretty smart to boot! Thanks for the videos, they have been a big inspiration to me and my future career. Keep them coming!

  • @ifrazali3052
    @ifrazali3052 Рік тому

    Thanks

  • @arendestes
    @arendestes 6 років тому +2

    Congrats on the 20k. Python is great.

  • @TheRomane71193
    @TheRomane71193 6 років тому +6

    Bro I been following you since reddit 400 subscribers “I just started my channel what do you guys think “ days

  • @jciutube724
    @jciutube724 2 роки тому

    Thank you I truly enjoy your videos.

  • @keifer7813
    @keifer7813 2 роки тому

    Amazing video man

  • @freemanwest
    @freemanwest 6 років тому

    A bit of impostor syndorme right here : 1:53. Grats for the 20k. You deserve much more.

    • @JoshuaFluke1
      @JoshuaFluke1  6 років тому

      I'm working on it. I still don't feel like I "deserve" it

  • @shavaizhussain7183
    @shavaizhussain7183 3 роки тому

    All my confusions in solved in one video. You are the best man

  • @nickf1724
    @nickf1724 4 роки тому +3

    Wow, I didnt expect to know the answers to most of these questions but I did. Im currently taking a class that is being taught for the first time at my school and originally wasn't supposed to have python in it. Ended up being a lot of python which Im happy about just surprised about. Still, coming from a c++ class where I knew that there was much more for me to learn, it didnt seem too inspiring just learning the same things but in python. But now that I see that I know a lot of the stuff in this video, while I know there is so much more to learn, I at least see the light at the end of the tunnel. Nice video.

  • @saumaypaul20
    @saumaypaul20 6 років тому +3

    Hey man! I love your PC setup. Do you play any games? I'm just curious 😜

  • @88varjo
    @88varjo 3 роки тому

    ur a champ

  • @lukajajanidze1118
    @lukajajanidze1118 6 років тому

    love your channel

  • @MrKrishnalovesyou
    @MrKrishnalovesyou 6 років тому

    Great good job ..discussed so much tricky questions... appreciated 👍

  • @yusufrazakhan2443
    @yusufrazakhan2443 2 роки тому

    thanks helpfull

  • @johnmacs171
    @johnmacs171 6 років тому

    Useful video, thanks!

  • @Liam.Stevens
    @Liam.Stevens 6 років тому

    Keep the train up Josh =), keep the daily videos coming.

  • @ErickHoxter
    @ErickHoxter 6 років тому +1

    I'm getting fairly comfortable with Python after using it for a year and some change and working on my own projects. It's my understanding that it is tough to get a job just as a Python developer. Is that true at all? I hear most people saying you need to know Java or another popular language to land a job as a developer.

    • @JoshuaFluke1
      @JoshuaFluke1  6 років тому +3

      Python in itself is useful, but you need to be able to use it for it's utility. Machine learning, data science, AI, Web dev. Javascript is a good language to pair with it.

  • @widowdev
    @widowdev 6 років тому

    Good job brotha keep it up

  • @pythonaboveclevel272
    @pythonaboveclevel272 6 років тому

    Mutable (Changable) - Lists Sets and Dictionary
    Immutable (Non Changable) - String Numbers And Tuples

  • @jameshopkins9011
    @jameshopkins9011 6 років тому

    Hey great vid man! For the randomizing a list of integers one question a code example of the solution would've been useful.

    • @JoshuaFluke1
      @JoshuaFluke1  6 років тому

      I meant to put that up on the screen but I forgot!

  • @leonhardeuler9839
    @leonhardeuler9839 6 років тому

    Joshua, are you self-taught? Which languoages do you know? If you're self-taught, tell me if you'd like to go to college?

  • @gregorijabramov6577
    @gregorijabramov6577 6 років тому

    Please more of these kind of videos

  • @rushlearning5158
    @rushlearning5158 4 роки тому

    Useful

  • @henryramirez5868
    @henryramirez5868 6 років тому

    Is your favorite color blue?

  • @IC-kf4mz
    @IC-kf4mz 3 роки тому

    I was asked about negative index. I did not understand the question when it was asked.

  • @MylesGmail
    @MylesGmail 5 років тому +2

    i clicked this again, so i tweeted it again

  • @friendlychannel100
    @friendlychannel100 4 роки тому

    6:06 we can also print(set(LIST)) ... (not everytime) ;)

    • @harrak_ozfootball3389
      @harrak_ozfootball3389 4 роки тому

      No, we can't, actually, a set has unique characters, it doesn't randomize anything.
      Instead we can import the random module and use it this way:
      from random import shuffle
      nums = [1,2,3,4,5]
      nums.shuffle()
      print(nums)
      #Output: a shuffled list maybe : [1,5,4,2,3]

  • @sigamshibidi
    @sigamshibidi 3 роки тому +3

    Thanks... I am 12, but this gets me started early!

  • @malodeity
    @malodeity 6 років тому

    This is nice. I like ☺

  • @JohnDoe-df8bj
    @JohnDoe-df8bj 6 років тому +1

    Python’s where’s it at! :)

  • @mallimuondu6779
    @mallimuondu6779 4 роки тому

    it was full

  • @patrickthompson1190
    @patrickthompson1190 6 років тому

    Been here since WoW trick videos.

  • @jonross1347
    @jonross1347 6 років тому +2

    Damn, I had the dictionary question in an internship interview, but had no idea... wish this video came out a couple weeks ago!

  • @decarbon8532
    @decarbon8532 6 років тому

    Everything in Java is also pointing to an object but it still pass by value, I believe Python is pass by assignment.

  • @henryramirez5868
    @henryramirez5868 6 років тому +1

    Left a comment

  • @bagotibi
    @bagotibi 6 років тому

    Cool video

  • @akramnarejo6221
    @akramnarejo6221 4 роки тому

    Trust me I know the answers of all of the questions you have mentioned but again I am unemployeed. Need help please if you could make me meet a few recruiters.

  • @MrJocker008
    @MrJocker008 3 роки тому

    Actually the questions aren’t bad, they can be asked for every level of Python developers, but your answers is so junior… Answers are not for middle or seniors. In any case this video will be helpful for juniors, so I will say “thanks” =)

  • @Sandy_bro27
    @Sandy_bro27 5 років тому

    After learning python how i switched to Django..Is there any source to learn Django online?

  • @kiss_my_axe
    @kiss_my_axe 5 років тому

    how did you get those wallpapers?

  • @MylesGmail
    @MylesGmail 5 років тому +1

    I tweeted this

  • @ajinkyashinde6345
    @ajinkyashinde6345 6 років тому +2

    Is there any scope in lambda school if i am from india

    • @blasttrash
      @blasttrash 6 років тому

      Is lambda school online?

    • @ezazakhtar6339
      @ezazakhtar6339 5 років тому

      This payment option is currently only available to US citizens. International students are required to pay tuition up-front.

  • @hrudayangammehta6623
    @hrudayangammehta6623 4 роки тому

    this is way too basic... can you post an updated video if possible?

  • @TheRazzolate
    @TheRazzolate 6 років тому

    Yeet (love the videos)

  • @hhakyt
    @hhakyt 5 років тому

    2:10

  • @cmoneverybody1997
    @cmoneverybody1997 5 років тому +1

    Python also has immutable tuples, frosensets. You didn't answer the question.

  • @alexn2566
    @alexn2566 4 роки тому +1

    Very poor quality video. Huge, useless intro. Some questions were quite dumb and some, that were ok actually lacked a proper answer.

  • @chuckynorris616
    @chuckynorris616 5 років тому

    No sane interviewer will asks these dumbed questions. Learn data structures and algorithms people

    • @JoshuaFluke1
      @JoshuaFluke1  5 років тому

      But ive been asked these before

    • @BrandonJaffe14
      @BrandonJaffe14 5 років тому

      These questions indeed seem rudimentary, however he did mention they could be potential questions for a junior level position (entry).

  • @jasoncrelopia821
    @jasoncrelopia821 Рік тому

    BS channel