Top 29 Python Interview Questions and Answers | upGrad
Looking for Python Interview Questions & Answers to prepare? Check this video out we have an ultimate guide to knowledge-based Python Interview Questions and Answers.
Get your specialisation from upGrad now - bit.ly/3dLnZTJ
#python #interviewquestions #datascience
Founded in 2015, upGrad is India’s largest online higher education company providing programs in Data Science, Technology, Management and Law, to students, working professionals and enterprises. Every program is designed and delivered in collaboration with top universities like the IIT Madras, MICA, NMIMS Global Access, Jindal Global Law School, Duke CE, Deakin University, Liverpool John Moores University and others.
With an 85% program completion rate, a robust tech platform, an outcome-based learning approach, industry-relevant curriculum, strong mentorship, and placement support, upGrad has established its position as the leader in the Indian education system.
upGrad has on-boarded over 30,000 paid learners while impacting more than half a million individuals, globally. IIIT Bangalore and upGrad’s collaborated program of PG Diploma in Data Science is India’s first-ever PG Diploma to be recommended and validated by the National Association of Software and Services Companies (NASSCOM) and government-approved National Occupational Standards (NOS). upGrad received the ‘Best Education Brands’ award by Economic Times in 2018, Most Innovative Companies in India' by Fast Company in 2017, and has made it to Linkedin's 'Top Startups India' 3 years in a row in 2018, 2019, and in 1st position in 2020.
Stay on top of your industry by interacting with us on our social channels:
Follow us on Instagram: / upgrad_edu
Like us on Facebook: / upgradglobal
Follow us on Twitter: / upgrad_edu
Follow us on LinkedIn: / ueducation
Пікірлер: 35
Want to explore the world of Data Science? Check out our courses - bit.ly/3BjnIAK
You can use triple quote ’’’ for multi-line comments
Straightforward.tq
Thank you upgrad
thanks alot for sharing...
Thanks bro
'''-1:39 Python 3 support multiline comments using triple quotes '''
@anirudhomkar
3 жыл бұрын
Python 3 doesn't support multiline comments. That tripple quote trick is a workaround as in python a string literal which isn't assigned to any variable, python ignores that when execution.
tqq
@barecodedreamersacademy6147
2 жыл бұрын
TO LEARN AND CRACK COMPETITIVE PROGRAMS kzread.info/dron/yoFQsVztx2oHWq14nY8A6A.html
Can you please make another video on python advanced interview questions, Your presentation is too good. thank you.
@upGrad_edu
2 жыл бұрын
Hi Laxman, Glad you liked the video. We appreciate your suggestion and will forward it to the team. Thank you.
In PEP 622 Pattern Matching was introduced. It has the case statement.
Thanks UPGRAD, i got placed in Google after seeing this video 😍🥳
@upGrad_edu
2 жыл бұрын
Hi Juvineal, We are glad to know that. Thank you.
“Is” checks if two objects point to the same address in the memory, nothing to do with boolean values
6:22 it's wrong use Triple quote '''This Is A comment '''
is statement checks that the object is stored in the same memory address. And you’ll be shocked on the result of a = 300 a is 300
@anirudhomkar
3 жыл бұрын
'==' operator checks and compares the values of the variable but 'is' operator checks the identity(memory location) of the two comparing variables 'Is' operator is stronger than '=='
At 5:13 “self” is not a keyword in python
where is anynomous function question its also important
@upGrad_edu
3 жыл бұрын
Hi Abhishek, thanks for your suggestions. We will take reference of it. Thank you.
@whattheycantteach5064
3 жыл бұрын
could've just said lambda, scared me there buddy sheesh XD
@vamshilingala7278
3 жыл бұрын
@@whattheycantteach5064 😂😂
I don't understand 'The "is" operator returns true when two operands are true'. It seems like you meant 'The "and" operator ...', or you meant '... operands have the same object id'.
1:09 isn't string mutable?
@MRECoelho
3 жыл бұрын
No, you get a new string returned. You can use de id() function to see that the id of the 'modified' string is different from the original string, and thus it's actually a new one :)
@cristianochepe7050
3 жыл бұрын
@@MRECoelho Yes,that makes sense. Thank You! Cheers!
Self is not a keyword. Also, the difference between array and list seems to be incorrect. Does array means Numpy array; in any case it can store any type.
sets are immutable not mutable i guess
@yugraval5571
2 жыл бұрын
No they are mutables
Get your specialisation from upGrad now - bit.ly/3dLnZTJ
Fake University ahe upgrad Students la fasavat ahet paise lubadat ahet. Mi MA PR marathi course sathi admission ghatale hote after 2 months sangital marathi batch nahi tumhi refund sathi aplay kara 6 months jale mala ajun refund amt dhili nahi. Staff fasavat ahet.smita nayak madam sanagat ahet Regine dhile. Siddhi shaha madam Alamas Khan sir fakat paise lubadayala basale ahet. So don't waste ur time and money.