Learn Witrh Mi Python.png (148.55 KB, Downloads: 2)
2017-11-24 22:55:35 Upload
Hi Mi fans,
We are back with the second article for #LearnWithMi campaign. This article is about a programming language that has set the tech world ablaze with its versatile features and elegant syntax, Python.
It all started when Guido Van Rossum, a Dutch programmer, decided to build a hobby project during his Christmas vacation. He wrote an interpreter for the new scripting language he had been pondering over and named it Python (being a die-hard fan of Monty Python). A descendent of ABC languages developed in the early stages of computing, it is a high-level, general-purpose programming language which focuses on code readability. The design philosophy of Python is summarized in a collection of 20 principles, some of which are:
What makes Python stand out from other languages?
Being modular, dynamic, object oriented, portable, and extensible in C and C++, Python has topped the charts over recent years. The USP of Python is that it is an open source language. It is this particular feature, apart from code readability, that has led to its widespread acceptance in academia and industry. MATLAB, for example, though simple in terms of writing code is not free to use and thus may not always be a viable option for students and early stage startups.
Languages like Java, C, C++, and Visual Basic are compiler based while Python is interpreter based. In layman’s terms, if you write a 100 line code in C and the 99th line has an error, your code won’t run but if you write it in Python, the code will be executed till the 98th line. Also, the simplicity of Python makes it desirable for newbies. The syntax is easy to write and not bulky. The ‘hello world’ program, for instance, requires at least 10 lines of code in Java while you just need to write Print (“Hello World!”) in Python. That’s about the ease of coding!
But why should you learn Python when you already know so many programming languages?
Because NASA uses Python! No, that’s not the only one. Let’s have a look at the reasons -
Organisations like Google, Facebook, IBM, NASDAQ, and Yahoo have already realised the power of Python. For instance, YouTube was written in PHP but with the emergence of Python with extensive libraries, it has been rewritten in the latter. Now, it’s time for you to realise it.
And guess what?
Christmas is coming!
As a part of #LearnWithMi initiative, Internshala is offering a 25% discount on the online Python training. Jump on to avail the offer, register here using the coupon code: MI25
Why don’t YOU take up a hobby project this time and create some magic yourself? It’s time to delve deeper into the world of Python and build a fantasy cricket game.
#LearnWithMi: Android app development - Java vs Kotlin
Xiaomi and Internshala present #LearnWithMi: It's time to create a brighter future
In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .