Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				Random questions from uncle Google and some from my dear brain:
 
 - Write a function to reverse a string?
 - Write a loop to do print ...?
 - If statements to do ... ?
 - Fix the error of this code?
 - Use arrays to do ...?
 - What’s the output of this code?
 - What is the difference between list and tuples?
 - What are the key features of Python?
 - What does this mean: *args, **kwargs? And why would we use it?
 - What is the difference between range() and xrange() functions in Python?
- 
				
				@dev1410 based on the article where I found this article:
 - Python is an interpreted language. That means that, unlike languages like C and its variants, Python does not need to be compiled before it is run. Other interpreted languages include PHP and Ruby.
 
 - Python is dynamically typed, this means that you don’t need to state the types of variables when you declare them or anything like that. You can do things like x=111 and then x="I'm a string" without error
 
 - Python is well suited to object orientated programming in that it allows the definition of classes along with composition and inheritance. Python does not have access specifiers (like C++’s public, private), the justification for this point is given as “we are all adults here”
 
 There are more features can’t list them here
 
 For more Q&A: https://edureka.co/blog/...
- 
				
				 vane104867yhow to list all methods and fields of class or it’s instance? vane104867yhow to list all methods and fields of class or it’s instance?
 how to iterate over dictionary keys and values ?
 how to delete when iterating over list?
 how to get common items from two lists ?
 how to get last letter of string?
 what would happen if you initialize list as one of method arguments ?
 what is generator for?
 what is lambda for?
- 
				
				I think Python is most useful for automation and machine learning/data science projects. Some of the essential questions asked are on Python string, reverse indexing, list & list methods, tuple, for...each loop, exception, and file handling.
 
 Here is the list of 100 Python questions: https://techbeamers.com/python-inte...
- 
				
				@dasagrivamanu You can find few more updated interview questions from here: https://hackr.io/blog/...
- 
				
				m0ew96yCheck this recourse - https://interviewbit.com/python-int...
 
 Also, solve some python interview problems listed on the same page.
Related Rants







 Stackoverflow.
Stackoverflow.
 For those of you who are having interviews ... remember this
For those of you who are having interviews ... remember this
Let's assume I have a technical interview in Python. What are the question that you are going to ask me?
P.S. Asking this question for everyone. I have seen a lot of websites but still don't know what to read first so I am asking you.
question
interview
python
technical interview