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!!
@@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.
@@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
@@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
Book FREE 1:1 Mentorship for Gen AI / Data Science
Link 🔗 bit.ly/3wlIIGz
thank you for this concise recap of the basics....
Time 7:22 , wrong indication of tuple{ }.....it should be ( )
Bro
Python is both compiled and interpreted.
You need to have correct info when upload such things
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.
is it allowed to use built-in functions for solving dsa problems in tcs interviews?
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!!
🎉👏👏
Love u sir
sir can u explain dictionary is a ordered or un ordered collection of elements?
As of Python version 3.7, dictionaries are ordered. In Python 3.6 and earlier, dictionaries are unordered. google it....
dictionary in ordered form
as of python>=3.8 its ordered. previously was unordered
Armstrong definition is wrong
Can you please explain yourself?
@@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.
@@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
@@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
@@charvinkhanpara4160 Both are correct. Sometimes this is called Narcissistic Number
❤️
Nonsense.
Pdf sir 😢
Dear learner, for now can you please take screenshots of the shown PPT slides.