Explain me what are the key features of Python?
Submitted by: MuhammadThese are the few key features of Python:
☛ 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”
☛ In Python, functions are first-class objects. This means that they can be assigned to variables, returned from other functions and passed into functions. Classes are also first class objects
☛ Writing Python code is quick but running it is often slower than compiled languages. Fortunately,Python allows the inclusion of C based extensions so bottlenecks can be optimized away and often are. The numpy package is a good example of this, it's really quite quick because a lot of the number crunching it does isn't actually done by Python
☛ Python finds use in many spheres – web applications, automation, scientific modelling, big data applications and many more. It's also often used as “glue” code to get other languages and components to play nice.
Submitted by: Muhammad
☛ 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”
☛ In Python, functions are first-class objects. This means that they can be assigned to variables, returned from other functions and passed into functions. Classes are also first class objects
☛ Writing Python code is quick but running it is often slower than compiled languages. Fortunately,Python allows the inclusion of C based extensions so bottlenecks can be optimized away and often are. The numpy package is a good example of this, it's really quite quick because a lot of the number crunching it does isn't actually done by Python
☛ Python finds use in many spheres – web applications, automation, scientific modelling, big data applications and many more. It's also often used as “glue” code to get other languages and components to play nice.
Submitted by: Muhammad
Read Online Python Developer Job Interview Questions And Answers
Top Python Developer Questions
☺ | Do you know what Is The Key Difference Between A List And The Tuple? |
☺ | Tell me how Does The Ternary Operator Work In Python? |
☺ | Do you know what Does The <Yield> Keyword Do In Python? |
☺ | Tell me what is PEP 8? |
☺ | Tell me what are the built-in type does python provides? |
Top Web Developer Categories
☺ | Bootstrap Interview Questions. |
☺ | Front End Web Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |