Python – Introduction – Datatypes

Programming Paradigms – கருத்துரு

Python –> is a multi programming paradigms

1. Functional Programming features

– C, Python

2. Object Oriented Programming –> Compilers

C++, C#, Java, Python

3. Scripting –> Interpreter

Powershell, Javascript, Python

4. Modular Programming

– Modula 3, Python

Features of Python:

1. Simple

2. Open Source, Free

3. High Level Language

4. Platform Independent

Operating System + Processor

5. Portability

6. Dynamically Typed Prog. Language

C, C++, Java, C# -> Statically Typed Prog.

7. Both, Procedure Oriented and Object Oriented Programming

8. Interpreted (Interpreter)

9. Extensible

10. Embedded

11. Extensive Libraries -Modules

Flavours of Python:

1. CPython

2. JPython (Jython)

3. IronPython (C# .NET)

4. PyPy

– Just In Time Compiler (JIT)

5. RubyPython

6. AnacondaPython

Large Data

first.py

———

name = ‘Muthuramalingam’

print(name)

langspacepython

second.py

————–

tamil, english, maths, science, social = 90, 97, 97, 90, 95

total = tamil + english + maths + science + social

print(total)

keywordprint.py

——————

import keyword

print(keyword.kwlist)

datatypes.py

————–

num1 = 123

print(type(num1))

print(num1)

num2 = 10.45

print(type(num2))

print(num2)

visitedStatue = True

print(type(visitedStatue))

print(visitedStatue)

name = “muthuramalingam”

print(type(name))

print(name)