Python
Python is a high level, powerful, and object-oriented programming language.It is an interpreted scripting language. Guido Van Rossum the founder of python programming.
Learning Python Programming requires to study about installation, control statements, Strings, Lists, Tuples, Dictionary, Modules, Exceptions, Date and Time, File I/O, Programs, etc.
Python is simple and easy to learn and provides lots of high-level data structures. It is a powerful and versatile scripting language which makes it attractive for Application Development.
Python is multipurpose because it can be used with web, enterprise, 3D CAD etc.
There is no need to use data types to declare variable because it is dynamically typed so we can write y=50 to assign an integer value in an integer variable.
Python Example
Write following code in a file and save with .py extension like hello.py.print("hello python world!")
After executing.
Output:
hello python world!
I am presenting another very simple python program. This program takes a number as input and reverse it.
n=int(input("Enter any number: "))
rev=0
while(n>0):
r=n%10
rev=rev*10+r
n=n//10
print("Reverse of the number=",rev)
Python Version
Python is updated regularly with new features and supportsA list of python versions with its released date is given below from 1994.
Python Version | Released Date |
---|
Python 1.0 | January 1994 |
Python 1.5 | December 31, 1997 |
Python 1.6 | September 5, 2000 |
Python 2.0 | October 16, 2000 |
Python 2.1 | April 17, 2001 |
Python 2.2 | December 21, 2001 |
Python 2.3 | July 29, 2003 |
Python 2.4 | November 30, 2004 |
Python 2.5 | September 19, 2006 |
Python 2.6 | October 1, 2008 |
Python 2.7 | July 3, 2010 |
Python 3.0 | December 3, 2008 |
Python 3.1 | June 27, 2009 |
Python 3.2 | February 20, 2011 |
Python 3.3 | September 29, 2012 |
Python 3.4 | March 16, 2014 |
Python 3.5 | September 13, 2015 |
Python 3.6 | December 23, 2016 |
Python 3.6.4 | December 19, 2017 |
You are writing some Amazing tips. This article really helped me a lot. Thanks for sharing this blog.
ReplyDeleteKhojdeal coupons