What is Python mean?
· Python is a powerful highly level programming language.
· Python is object-oriented, an interpreter, and dynamic scripting language (multi-purpose programmer friendly language).
· Python was made to be extremely readable.
· Compared to other languages, it has only very little syntactical structures.
· Python is all-round compared with all other programming languages.
1 Introduction to python
Example:1 Hello world
C #include<stdio.h> main() { printf(“Hello World”); }
|
JAVA public class test { Public static void main(string [ ] args) { System.out.println(“Hello World”); } } |
PYTHON print(“Hello world”)
|
Example:2
a=10
b=20
C=30 if a>b else 40
print(c)
Example:3 print the sum of two integer numbers
C #include<stdio.h> main() { int a,b; a=10; b=20; printf(“the sum: %d”,(a+b)); }
|
JAVA public class test { Public static voi main(string [ ] args) { int a,b; a=10; b=20; System.out.println(“the sum:”+(a+b)); } } |
PYTHON a=10 b=20 print(“the sum:”,a+b)
|
LANGUAGE FUNDAMENTALS:
1 Introduction to python
2 Features of python
3 Limitations of python
4 Flavours of python
5 Versions of python
6 Application of python
7 Reserve words/ Keywords
8 Identifiers of python
9 Data Types