Python Features
1)Simple and easy to learn2)freeware and open source
3)High Level Programming Language
4)Plateform independent
5)Portability
6)Dynamically Types
7)Both procedure Oriented and Object Oriented
x=10
def f1():
print("With out object we can call functon:",x)
f1()
8)Interpreted
9)Extensible
We can use other languages program in Python.
We can improve performance of the application.
10)Embedded
We can use Python programs in any other languages together easily
11)Extensive library Support
Program 1
import math
print(math.sqrt(4))
Progrm 2
from random import *
print(ranint(0,9),ranint(0,9),ranint(0,9),ranint(0,9),ranint(0,9),ranint(0,9),sep='')
->Going to generate 6 dogit random number without space
ie 453656
Python Limitation
1)Performance wise slow just becaus of interpreter
2)Mobile Applications
No comments:
Post a Comment