Introduction to Python Programming

Introduction

 
In this blog, I will give an introduction to Python programming. Before getting started, I would like to give a brief explanation of Python. Python is processed at runtime via interpreter. There is no need to collect your program before executing it.
 

What is Python?

  • Python is a high-level programming language.
  • Python is an object-oriented programming language.
  • Beginners find it very easy to learn, as Python syntax is very simple.
  • 15 million developers use the Python language.
Developer name
 
Python was developed by “Guido van Rossum “in 1980.
 
Why the name python?
 
Guido van Rossum was a fan of “Monty Python’s flying circus”.
 
The name “Python” became adopted from the show's name.
 

Python version

 
The three major variations of Python are 1.X, 2.X and 3.X. These are subdivided into minor versions, along with 2.7 and 3.3. Code written for Python 3.X is guaranteed to paintings in all future variations.
 
Both Python Version 2.X and 3.X are used currently. This path covers Python 3.X; however, it isn't tough to exchange from one version to another.
  • Python 1.5-year 1999
  • Python 2.0-year 2001
  • Python 2.5-year 2006
  • Python 3.0-year 2008
  • Python 3.1-year 2009
  • Python 3.2-year 2011
  • Python 3.3-year 2012
Today, we are using Python 3.8.1, as of 18 December 2019.
 

Python simple program

 
Example 1
 
Now I am creating a short program that displays "Hello world!"
 
Print is used to print the output in the output screen.
 
print ("Hello world!")
 
Output
 
Python Programming 
 
Example 2
 
Python has the functionality of wearing out calculations.
 
Enter a calculation right now into the Python console and give any operator
 
Example: +, -, *, /, %
  1. print(5+2)
  2. print(5-2)
  3. print(5*2)
  4. print(5/2)
  5. print(5%2)
Output
 
Python Programming 
 
Features of python
  • Free and open source
  • High level language and interpreted language
  • Object oriented programming language
  • Graphical user interface
  • Case sensitive
Application python
  • Web development
  • Games
  • Raspberry pi
  • Artificial intelligence
  • Data analysis
  • Machine learning

Conclusion

 
In this blog, we have seen an introduction to Python programming, the Hello world program, and the operator program. I hope this blog will be useful to you. Thanks!

Next Recommended Reading Python Program to Check Odd or Even