50+ Python Interview Questions & Answers | Freshers & Experienced Candidates | Crack Interviews

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

КОМЕНТАРІ • 26

  • @Analyticsvidhya
    @Analyticsvidhya  3 місяці тому

    Book FREE 1:1 Mentorship for Gen AI / Data Science
    Link 🔗 bit.ly/3wlIIGz

  • @lszujo
    @lszujo 2 місяці тому +1

    thank you for this concise recap of the basics....

  • @VivekPol77
    @VivekPol77 2 місяці тому +3

    Time 7:22 , wrong indication of tuple{ }.....it should be ( )

  • @handle_gc
    @handle_gc 2 місяці тому +7

    Bro
    Python is both compiled and interpreted.
    You need to have correct info when upload such things

  • @AbuIkram-nb9fk
    @AbuIkram-nb9fk 6 місяців тому

    You have explained 8 types of built-in data types in this video, but you gave number as 7.
    Time 3.28 in this video.

  • @bhaigaming786-g7m
    @bhaigaming786-g7m 6 місяців тому +2

    is it allowed to use built-in functions for solving dsa problems in tcs interviews?

    • @Analyticsvidhya
      @Analyticsvidhya  6 місяців тому +2

      In general scenario, candidates are allowed to use as many built-in functions as they like, as long as it doesn’t make the solution look trivial or the logic part hard to understand.
      The interviewer wants to collect as many data points on why they should hire you. So, covering the logic part in your code do makes a lot of sense. Anyways, you can always clarify with the interviewer if you may use certain library or function. It's largely appreciated in interviews if you do that.
      Good luck!!

  • @ojasvisingh786
    @ojasvisingh786 7 місяців тому +1

    🎉👏👏

  • @Balaji-wb7cp
    @Balaji-wb7cp 3 місяці тому

    Love u sir

  • @HemprasathR-zp9sf
    @HemprasathR-zp9sf 5 місяців тому +1

    sir can u explain dictionary is a ordered or un ordered collection of elements?

    • @HemprasathR-zp9sf
      @HemprasathR-zp9sf 5 місяців тому

      As of Python version 3.7, dictionaries are ordered. In Python 3.6 and earlier, dictionaries are unordered. google it....

    • @astgamer8608
      @astgamer8608 4 місяці тому

      dictionary in ordered form

    • @susamay
      @susamay Місяць тому

      as of python>=3.8 its ordered. previously was unordered

  • @qureshizaid
    @qureshizaid 4 місяці тому +1

    Armstrong definition is wrong

    • @Analyticsvidhya
      @Analyticsvidhya  4 місяці тому

      Can you please explain yourself?

    • @qureshizaid
      @qureshizaid 4 місяці тому

      @@Analyticsvidhya armstrong number is a number that is the sum of its own digits each raised to the power of the number of digits. 1634 is also armstrong number. 1⁴+ 6⁴+3⁴+4⁴ = 1634. You stated its cube of its digits and wrote code according to that.

    • @Sachin_bhogalkar
      @Sachin_bhogalkar 3 місяці тому

      @@Analyticsvidhya its not always sum of cube of its digits.
      If the number is 1234 then as it contains 4 digits. we need to raise power for 4 to all digits and then add to check if it is armstrong
      1234 : 1**4 + 2**4 + 3**4 + 4***4 = 1 + 16 + 81 + 256 = 354
      354 != 1234 So not an armstrong
      Similarly
      1634
      1*1*1*1 + 6*6*6*6 + 3*3*3*3 + 4*4*4*4 = 1634
      So 1634 is armstrong number
      But that's not a big deal. its called armstrong of an order. Just conceptual thing.
      Overall great clear explanation of important python topics. Thank you

    • @charvinkhanpara4160
      @charvinkhanpara4160 Місяць тому +1

      ​@@Analyticsvidhya An Armstrong number is a number that is equal to the sum of its digits each raised to the power of the number of digits in the number

    • @susamay
      @susamay Місяць тому +1

      ​@@charvinkhanpara4160 Both are correct. Sometimes this is called Narcissistic Number

  • @Optimus_Gaming07
    @Optimus_Gaming07 7 місяців тому

    ❤️

  • @osogrande4999
    @osogrande4999 10 днів тому

    Nonsense.

  • @Darkdevil2000
    @Darkdevil2000 5 місяців тому

    Pdf sir 😢

    • @Analyticsvidhya
      @Analyticsvidhya  5 місяців тому +4

      Dear learner, for now can you please take screenshots of the shown PPT slides.