Saturday, 22 May 2021

// // Leave a Comment

Introduction to Python

INTRODUCTION 
Python is widely used general purpose, high level programming language. Developed by Guido van Rossum in 1991. It is used for software development, web development (server-side), system scripting, mathematics. 

Features of Python 
1. Easy to use – Due to simple syntax rule 
2. Interpreted language – Code execution & interpretation line by line 
3. Cross-platform language – It can run on windows, linux,   etc.                equally 
4. Expressive language – Less code to be written as it itself express the purpose        of the code. 
5. Completeness – Support wide rage of library 
6. Free & Open Source – Can be downloaded freely and source code can be modify for improvement Shortcomings of Python 
1. Lesser libraries – as compared to other programming languages like C++, Java, .Net 
2. Slow language – as it is interpreted languages, it executes the program slowly. 
3. Weak on Type-binding – It not pin point on use of a single variable for different data type.
 
Input and Output   
variable1=‘Python Programming' 
variable2=‘Java Programming ' 
print(variable1,' and ',variable2,' ) 
Output :Python Programming and Java Programming 
raw_input() function in Python allows a user to give input to a program from a keyboard but in the form of string. 
 

0 Comments:

Post a Comment