The Easiest yet Powerful Language: Python – Techienest

The Easiest yet Powerful Language: Python

Best Python training in India

The first question arises in our mind after hearing this programming language is, why is it called Python?  So, the answer to this question is- in 1989, Guido van Rossum while developing Python was also reading the scripts from “Monty Python’s Flying Circus”, a BBC comedy series from the 1970s. Van Rossum wanted short, unique and slightly mysterious kind of name, so he decided to name the language “Python

 

Python is a high-level programming language with a simple and effective approach to Object Oriented Programming (OOP).  Rather than using punctuation and less syntactical construction, python uses easy English keywords very frequently. Python is an open source language which means we do not pay to use this language. It works on Operating Systems like Windows, Mac, and Linux.  The websites that have used python are- YouTube, Instagram, Mozilla, Dropbox and etc.

 

Features of Python

  1. Simple, readable and easy to learn for beginners.
  2. It can be used in the small and big project, either online or offline.
  3. It has the simple syntax
  4. It has a huge number of libraries because of which we can use it in different projects.

 

Application of Python

Web Application: Python has a library called Django which helps to use this language in web applications.

Game Development: With the help of pygame library we can use python in game development.

Web Scraping: It is a technique in which information is extracted from websites.

Data Science: Python is used for the scientific purposes also.

Robotics: Python can be used to develop a different kind of robotics for the different purpose.

 

How to Download and Install Python

We can download it directly from the official website of python (i.e. python.org). When we visit the website we can see a Download drop-down box, while we hover over it, we find the latest version of python (i.e. Python 3.6.0).

Note that Python 3.5+ cannot be used on Windows XP or earlier.

We can select the Python version compatible with our OS to download.

After it, we get an option of downloading the files of python. According to our OS, we can download the files.

 

Python installation is simple, by accepting all the terms and conditions just like other application, we can install it on our system.

 

Simple Python Program

# Store input numbers

num1 = input(‘Enter first number: ‘)

num2 = input(‘Enter second number: ‘)

# Add two numbers

sum = float(num1) + float(num2)

# Display the output

print(‘The sum of {0} and {1} is {2}’.format(num1, num2, sum))

 

Output:

Enter first number: 1.5

Enter second number: 6.3

The sum of 1.5 and 6.3 is 7.8

 

Comments are closed.