1 minute read

  • Python is an interpreted language. That means that is a simple language, it does not need to be compiled before it is run.

  • You don’t need to indicate the types of variables when you declare them.You can do things like x=111 and then x=”I’m a string” without error

  • You can use Python in many areas. Web and big data applications, automation, scientific modeling and many more. It’s also often used to fill the gaps in other programs written in another language

  • Writing Python code is quick but running it is often slower than compiled languages. Python allows the inclusion of C-based extensions, you can optimize your code with these extensions. The Numpy package is a good example of this, it’s really quick because python doesn’t do much of the number processing.

  • 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

The first class objects are program entity which have these five characteristics

  1. Can be created at runtime.
  2. Can be assigned to a variable.
  3. Can be passed as a argument to a function.
  4. Can be return as a result from a function.
  5. Can have properties and methods