5. python
• Python is a user friendly language.
• Easy to implement and develop different applications with this simple
language.
6. History of python
• First put forwarded by Guido van Rossum in 1989
at national research Institute for mathematics
and computer science in Netherlands.
• Till now we have 1.0 to 3.10 versions in python
language.
• Now currently using python idle 3.10 version.
• Though 3rd version of python came we still use
python 2nd version as its have few special
features .
7. Installation of python language :-
• Redirecting from internet.
• Go to Browser ( Chrome Advisable )
• Type python.org now download the version (usually a latest version )
and complete the installation process.
• Easy Installation process
8. Features of python language :-
• Few lines of coding .
• Interpreted language.
• Cross-platform language.
9. Introduction
Python is :
1. High-level programming language.
2. Fast to learn and fast to develop application.
3. Available for many platforms.
4. Implement complex logic with very few lines of code.
10. Two kind of program processes:
• Interpreters
• Compilers
11. Input It takes a single line of code or
instruction at a time.
Output It does not produce any intermediate
object code.
Working mechanism Compilation and execution take place
simultaneously.
Speed Slower
Memory It requires less memory as it does not
create intermediate object code.
Errors Displays error of each line one by one.
Error detection Easier comparatively
INTERPRETER
12. Input It takes an entire program at a time.
Output It generates intermediate object code.
Working mechanism The compilation is done before
execution.
Speed Comparatively faster
Memory Memory requirement is more due to the
creation of object code.
Errors Display all errors after compilation, all at
the same time.
Error detection Difficult
COMPILERS
16. Applications of Python language :-
• Game development
• Data processing
• Signal processing
• Movie creations
• Musical analysis
• Website development
17. Modes of execution :-
• Interactive Mode of execution – programs executed within command
prompt .
• Script Mode of Execution - includes execution of programs within the
idle shell or idle scripts.
19. Script mode of execution :-
• Two ways to execute in script mode i.e., Idle shell and Idle editor
window .
20. How to Enroll into 1 month Internship
‘https://imjo.in/Vc8NtW
FEE : Rs.999 COUPON : WELCOMEDS2
REG FEE : RS.597
21. Nested elif condition :-
• This condition basically used for checking for multiple conditions .
• Syntax :-
• A=1,b=2,c=3,d=4
• If (a>b>c>d):
• Print(“a is big”)
• Elif(b>c>d>a):
• Print(“b is big”)
• Elif(c>d>a>b):
• Print(“c is big”)
• Elif(d>a>b>c):
• Print(‘d is big’)
22. Conditional statements :-
• If statement
• If else statement
• Nested elif statement
• For loop
• While loop
23. If statement :-
• Basically used for checking a particular condition .
• It executes only if the particular conditions are true .
• Syntax :-
• If(a==10):
• Print(a)
24. If-else condition :-
• This particular condition is used when the given statement is false .
Then it moves on to the else block of the statements are prints the
else statements .
• Syntax:-
• If (a=10):
• Print (a is big )
• Else:
• Print()
25. Nested elif condition :-
• This condition basically used for checking for multiple conditions .
• Syntax :-
• A=1,b=2,c=3,d=4
• If (a>b>c>d):
• Print(“a is big”)
• Elif(b>c>d>a):
• Print(“b is big”)
• Elif(c>d>a>b):
• Print(“c is big”)
• Elif(d>a>b>c):
• Print(‘d is big’)
26. How to Enroll into 1 month Internship
‘https://imjo.in/Vc8NtW
FEE : Rs.999 COUPON : WELCOMEDS2
REG FEE : RS.597
27. Do you have any questions?
+91 8925533489
Thanks!
Phone Call: 9am
to 9pm