Python, in comparison with the other programming languages that we use, is user-friendly and easy-to-understand (Lutz, 1996). This is because it has built-in syntaxes that are simple and easy to remember just like “print” for printing, “def” for definition, etc. This programming language also doesn't have endless lines of codes just like in C, C++, and Java. A 100-line code written in C language, for example, can be converted into a 15 to 30 lines of code in Python. Also, it can run on different platforms and operating systems so you don't have any compatibility issues, unlike the others where one code might run on Windows 7 but not on Windows 8.
With that, a python code can literally be anything you want. And that starts with the module. A module is a file containing Python definitions and statements (python.org, n.d.). Basically, it contains the commands that your program will do. This can range from numbers, characters, matrices, plotting graphs, moving objects, computing for the error, and many more.
One interesting module is the Degrees-Minutes-Seconds Converter, which contains roughly 7 lines of code. The purpose of this module is to convert specific values for degrees, minutes, and seconds, which are given by the user, into a single quantity. This module needs the “decimal” module from the python standard library in order to work well. The reason behind this is that the output is in decimal. It doesn't depend on any other libraries or external applications for it is just a simple converter. This works on all operating systems and on all versions of python because this is just a basic trick.
A python code cannot be limited with just a simple converter. It can also display figures, shapes, and animations. You can even make games and databases out of it. Because of python’s versatility and functionality, it’s the easiest programming language today. Even Google uses Python as their official programming language. Python makes the complicated lines of codes into simpler language that we, humans, could understand.
Reference:
Lutz, Mark. (1996). Programming Python. O’Reilly Associates.
Python.org. (2014). The Python Tutorial. Retrieved from https://docs.python.org/2/tutorial/modules.html