PYTHON is an interpreted, interactive, object-oriented programming language.
- When a language is interpreted it means that it is processed at runtime by the interpreter.
- Interactive means that we can actually sit at a python prompt and interact with the interpreter directly.
- Object-Oriented is a style or technique of programming that encapsulates code within objects.
Advantages and features of Python:
- Readability
- Fast to Code
- Reusability
- Portability
- Object-Oriented Programming
- Rich build in modules
- Improved error checking
- Flexible data structures
- Reduces software developement time
- Indentation instead of braces
- No variable declaration is required
- Extensible
Interactive:
Hello world program (interactive):
root@home-pc:~# python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 10
>>> b = 20
>>> a+b
30
>>> firstname = 'VINOD'
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 10
>>> b = 20
>>> a+b
30
>>> firstname = 'VINOD'
>>> lastname = 'S'
>>>firstname + ' ' + lastname
VINOD S
>>>firstname + ' ' + lastname
VINOD S
>>>len(firstname)
5
>>>len(lastname)
1
Batch:
Aim: To print the square of numbers from 1 to 10
Permanent Account Number or PAN Card is a public sector identity card. Without a PAN, you will not be able to take out any financial transaction. Applying for PAN card online is easy. The procedure is simple and if you have all the documents ready then you can easily complete the process . It was easy method and during a period of time .Here is how to apply for PAN Card online: Pan card online application can available. The online process is the most free way of obtaining PAN.
ReplyDeleteRef : apply new pan card