10 Facts you don’t know about python

Python tutorial

Is Python written in C or C++?,Which is faster Java or Python?,Why is Python slow?Is Python free to use?These Questions are answered in this blog

Category:programming languages, python, computer programming

1.Why is it called “Python”

According to the creator Guido Van Rossum, the name of this language was derived from the British comedy series "Monty Python's Flying Circus".

 The comedy was aired on BBC during the 1970s and it gave the creator some form of entertainment during the language development. Also, Van Rossum wanted a name that was short, and mysterious. Something that will capture everyone's attention.


2.Python has C and Java variants

Despite being an independent programming language, It has variants for C and Java programming languages. The C variant is known as CPython and is designed to give it the advantages of C. The Java variant of Python is known as Jython. It brings some key aspects of Java such as productivity and enables them to run on a virtual machine.

3.Python is one of the official languages at Google

Do you know that Python is one of the official programming languages that are used at Google

4. Python does not support pointers

Unlike other programming languages, It does not support pointers. Instead, objects are passed by reference.

5.Python has a wide range of applications

You can build anything you want using this language. The language can be used for web development, mobile app development, AI, machine learning, Big data and internet of things applications,web scraping.

6.Functions in Python can return multiple values

Python offers a feature to return multiple values using function.It returns the value as a tuple.While it is not possible with other languages such as Java, C, etc.

7.Python took over French

In 2015, Python took over French to be one of the most popular languages which are taught in primary schools.

8.There is an immortal poem written about Python

Tim Peters wrote an interesting poem about Python which highlights some of the python facts.

It is popular as “The Zen of Python”.This poem is beautifully composed.

You can get this poem if you write and import this in your python compiler.

The Zen of Python, by Tim Peters

Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.

Complex is better than complicated.

Flat is better than nested.

Sparse is better than dense.

Readability counts.

Special cases aren’t special enough to break the rules.

Although practicality beats purity.

Errors should never pass silently.

Unless explicitly silenced.

In the face of ambiguity, refuse the temptation to guess.

There should be one– and preferably only one –obvious way to do it.

Although that way may not be obvious at first unless you’re Dutch.

Now is better than never.

Although never is often better than *right* now.

If the implementation is hard to explain, it’s a bad idea.

If the implementation is easy to explain, it may be a good idea.

Namespaces are one honking great idea — let’s do more of those!

9.Python is Older Than Java

Python programming language is high in demand has grown drastically in the past 10 years. So it seems Python is a new language that got the attraction to its audience and that gave it boost. But here’s a fun fact, It is an old programming language and is even older than Java. It was initially released in 1991 whereas Java was released in 1995. Thus, Py is now almost 30 years old and stills stands strong for the future.

10.Python is Not Slow

If you know Python and if you have been coding in this, you might have heard in the community that this is slow. But, my question is, “What do you want to develop?” If this language would have been slow then why would companies like NASA, Instagram, IBM, CERN use Python? So, what you want to develop, that is superior to NASA’s operations and needs faster language.

Python is slower if compared to programming languages like C, C++, Java, and more since they are complied languages whereas It is interpreted. Thus, this gives a slightly slow speed