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

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

Комментарии • 17

  • @Analyticsvidhya
    @Analyticsvidhya  22 дня назад

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

  • @Balaji-wb7cp
    @Balaji-wb7cp 5 дней назад

    Love u sir

  • @AbuIkram-nb9fk
    @AbuIkram-nb9fk 3 месяца назад

    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 3 месяца назад +2

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

    • @Analyticsvidhya
      @Analyticsvidhya  3 месяца назад +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 4 месяца назад +1

    🎉👏👏

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

    ❤️

  • @HemprasathR-zp9sf
    @HemprasathR-zp9sf 2 месяца назад

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

    • @HemprasathR-zp9sf
      @HemprasathR-zp9sf 2 месяца назад

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

    • @astgamer8608
      @astgamer8608 Месяц назад

      dictionary in ordered form

  • @qureshizaid
    @qureshizaid Месяц назад

    Armstrong definition is wrong

    • @Analyticsvidhya
      @Analyticsvidhya  Месяц назад

      Can you please explain yourself?

    • @qureshizaid
      @qureshizaid Месяц назад

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

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

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

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

    Pdf sir 😢

    • @Analyticsvidhya
      @Analyticsvidhya  2 месяца назад +4

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