I am Professional Python developer i Can do magic's with python programming you can hire me for flying python projects
My Portfolio: maddalajashwanth.blogspot.com
What are the data types of Python?
Answer:
Python has six standard data types. Data types are the classification of data items and represent the kind of value that shows what operations can be performed on a particular data. Because everything is an object in Python, they’re actually classes. Variables are instances of the classes.
The data types in Python are:
Numbers
String
List
Tuple
Set
Dictionary
Advanced Python interview questions
These advanced Python interview questions are all about understanding candidates’ in-depth knowledge of Python. The questions are less about what Python is and more about how it works.
4. How do I access a module written in Python from C?
Answer:
Understanding how Python works is a given for any Python developer. However, there’s no point in trying to get a word-for-word answer. Instead, look out for personal stories on how candidates have used specific features.
You can get a pointer to the module object as follows:
module = PyImport_ImportModule("");
Note that it doesn't enter the module into any namespace -- it only ensures it has been initialized and is stored in sys. modules.
5. How do you reverse a list in Python? When is it useful?
Answer:
You can reverse a list in Python with the reverse() or reversed() methods. They reverse the list, but don’t create a new list.
For example, the method can be used to arrange lists. If there’s a list of names in reverse alphabetical order, the list would have to be reversed to be arranged in alphabetical order and that’s what can be done with the reverse functionality.
6. What does break and continue do in Python?
Answer:
This is another question to see how well candidates understand Python’s functionalities.
Break and continue help control loops in Python. “Break” breaks the current loop from execution and transfers control to the next block. “Continue” makes a jump to the next iteration of the loop without exhausting it.
This can be helpful when you want to terminate the current iteration or the entire loop. Loops iterate over a block of code until the test expression is false, so break and continue make it possible to skip this.
I will deliver quality work ,
message me for more details
message me before work
Thanks
Regards,
maddala