0% found this document useful (0 votes)
6 views28 pages

Aditya Internship

The document is an internship presentation on Python programming, covering its definition, history, advantages, and applications. It includes sections on installing Python IDE, running Python, and programming concepts such as variables, data types, loops, and conditionals. Additionally, it provides references and concludes with a thank you note.

Uploaded by

sunandanpatra031
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views28 pages

Aditya Internship

The document is an internship presentation on Python programming, covering its definition, history, advantages, and applications. It includes sections on installing Python IDE, running Python, and programming concepts such as variables, data types, loops, and conditionals. Additionally, it provides references and concludes with a thank you note.

Uploaded by

sunandanpatra031
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 28

INTERNSHIP PRESENTATION-2023

Parala Maharaja Engineering College

PYTHON PROGRAMMING

Mr. ADITYA PRAKASH PARICHHA


Regd- ETC 2201109243
Under the guidance of
Ms./Mr./Dr. ADVISOR’S NAME
Mr./Ms. ABC (Regd#
Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [1]
INTERNSHIP PRESENTATION-2023

Contents
 What is python?
Parala Maharaja Engineering College

 History of python
 Advantages of python
 What can I do with python?
 Why do people use python?
 Installing Python IDE
 Running Python

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [2]
INTERNSHIP PRESENTATION-2023

What is python?
 Python is a general purpose programming
Parala Maharaja Engineering College

language that is often applied in scripting roles.


So, python is a programming language as well as
a scripting language.
 Python is also called as Interpreted language.
 The language places strong emphasis on code
reliability and simplicity so that the programmer
can develop applications rapidly.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [3]
INTERNSHIP PRESENTATION-2023

 Python is a multi-paradigm programming


Parala Maharaja Engineering College

language, which allow user to code in several


different programming styles.
 Python supports cross platform development and
is available through open source.
 Python is widely used for scripting in Game
menu applications effectively.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [4]
INTERNSHIP PRESENTATION-2023

History of Python
 Invented in the Netherlands, early 90s by Guido Van
Parala Maharaja Engineering College

Rossum
 Python was conceived in the late 1980s and its
implementation was started in December 1989
 Guido Van Rossum is fan of ‘Monty Python’s Flying
Circuis’ this is a famous TV show in Netherlands
 Named after Monty Python
 Open sourced from the beginning

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [5]
INTERNSHIP PRESENTATION-2023

Advantages of Python
 Most programs on python require considerably
Parala Maharaja Engineering College

less number of lines of code to perform the same


task compare to another language like C. So less
programming errors and reduces the
development time needed also.
 Though Perl is a powerful language, it is highly
syntax oriented. Similarly C also.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [6]
INTERNSHIP PRESENTATION-2023

What can I do with python?


 System programming
Parala Maharaja Engineering College

 Graphical user interface programming


 Internet scripting
 Component integration
 Database programming
 Gaming, images, XML, Robot and more.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [7]
INTERNSHIP PRESENTATION-2023

Why do people use python?


Parala Maharaja Engineering College

The following primary factors cited by python users seem


to be these:
 Python is object-oriented
Structure supports such concepts as polymorphism
operation overloading & multiple inheritance
 Its free (Open source)
Downloading and installing python is free and easy
source code is easily accessible.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [8]
INTERNSHIP PRESENTATION-2023

 It’s powerful
 Dynamic typing
Parala Maharaja Engineering College

 Build-in types & tools


 library utility
 Third party utility (e.g. Numeric, NumPy, SciPy)
 Automatic memory management
 It’s portable
 Python runs virtually every major platform used today
 As long as you have a compatible python interpreter
installed, python programmes will run in exactly the
same manner, irrespective of platform.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [9]
INTERNSHIP PRESENTATION-2023

Installing Python IDE


Parala Maharaja Engineering College

 Python is pre-installed on most Unix systems, including


Linux and MAC OS X
 But for in Windows operating systems , user can
download from the
http://www.python.org/downloads/
- From the above link download the latest version of
python IDE and install, recent version is 3.12.1 but most
of them uses version 2.7.7 only

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [10]
INTERNSHIP PRESENTATION-2023

Running Python
Parala Maharaja Engineering College

Once you are inside the Python interpreter, type in


commands at will.
 Examples:
>>> print ‘Hello world’
Hello world

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [11]
INTERNSHIP PRESENTATION-2023

Variables, Objects, and Classes


 A variable is a reference to a value stored in a
Parala Maharaja Engineering College

computer’s memory.
 Variables can be sorted into a variety of categories
(or data types) such as numbers (int/float etc),
Boolean values (true/false), and sequences
(strings, lists etc).
 An object is a collection of data from a computer’s
memory that can be manipulated.
• ALL VARIABLES ARE OBJECTS although some
objects can be defined by data referred to by
multiple variables.
• Methods are the functions used to act on/alter
an object’s data. They describe what your object
Mr./Ms. can “do.”ETC
ABC (Regd#
Mr. Aditya Prakash 1401109333) ETC 2201109243)
Parichha(Regd [12]
INTERNSHIP PRESENTATION-2023

Variables, Objects, and Classes(Cont.)


 A class is a collection of objects who share the
Parala Maharaja Engineering College

same set of variables/methods.


• The definition of the class provides a blueprint
for all the objects within it (instances).
• Instances may share the same variables (color,
size, shape, etc.), but they do NOT share the
same values for each variable (blue/red/pink,
small/large, square/circular etc.)

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [13]
INTERNSHIP PRESENTATION-2023

Common Data Types and Operators


 A data type is a means of classifying a value and
Parala Maharaja Engineering College

determining what operations can be performed on


it. All objects have a data type.
 Operators are symbols used carry out specific
functions/computations.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [14]
INTERNSHIP PRESENTATION-2023

Common Data Types and Operators


 A data type is a means of classifying a value and
Parala Maharaja Engineering College

determining what operations can be performed on


it. All objects have a data type.
 Operators are symbols used carry out specific
functions/computations.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [15]
INTERNSHIP PRESENTATION-2023

If-else Statements
 If-else statements allow programmers to
Parala Maharaja Engineering College

adapt the function of their code based on a


given condition.
 If a given condition (i.e. x % 2 == 0) is xString = input(“Enter a
true, then the statements following the if number: “)
statement (if) will be executed. If the x = int(xString)
condition is false, the statements following if x % 2 == 0:
the else statement (else) will be executed. print(“This is an even
• The condition is tested using the number”)
Boolean operators == (is equal to), != elif x == 0:
(is not equal to), and (used to test print(“This number equals
multiple conditions), and or (used to 0”)
test if AT LEAST ONE condition is true). else:
• Additionally, else-if statements (elif) print(“This is an odd
number”)
can be used to provide unique coding
statements for multiple conditions.

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [16]
INTERNSHIP PRESENTATION-2023

For Loops
 For loops perform the same task (iterate) for the number of
Parala Maharaja Engineering College

times specified by an iterable (something that can be


evaluated repeatedly such as a list, string, or range).
 for defines the for loop
 x is the variable defining the number of times the statements
within the loop (print(myInt)) are executed.
 The range(start, stop, step) function is often used to define
x.
• The starting value is defined by start, the final value is
defined by stop – 1, and the magnitude at which x changes
between loops is defined by step.
 in is a Boolean operator that returns true if the given value (x)
is found within a given list, string, range etc.
myString = input(“Enter a number: “)
myInt = int(myString)
for x in range(0, 5, 1): print(myInt)

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [17]
INTERNSHIP PRESENTATION-2023

While Loops
While loops are statements that
Parala Maharaja Engineering College

iterate so long as a given Boolean


condition is met.
x (the variable determining
whether or not the condition is
met) is defined and manipulated myString = input(“Enter a number: “)
OUTSIDE of the header of the myInt = int(myString)
x=0
while loop (while)
while x < 5:
The condition (x < 5) is a
print(myInt)
statement containing a Boolean x= x +1
variable.
break is a statement used to
exit the current for/while loop.
continue is a statement used to
reject all statements in the
current for/while loop iteration
and return to the beginning of
Mr. the
Mr./Ms. loop.
ABC
Aditya (Regd# ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [18]
INTERNSHIP PRESENTATION-2023

PROJECT
Parala Maharaja Engineering College

(TIC TAC TOE)

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [19]
INTERNSHIP PRESENTATION-2023
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [20]
INTERNSHIP PRESENTATION-2023
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [21]
INTERNSHIP PRESENTATION-2023
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [22]
INTERNSHIP PRESENTATION-2023
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [23]
INTERNSHIP PRESENTATION-2023

OUTPUT
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [24]
INTERNSHIP PRESENTATION-2023
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [25]
INTERNSHIP PRESENTATION-2023

REFERENCES
Parala Maharaja Engineering College

 https://www.geeksforgeeks.org/python-program
ming-language/
 https://www.w3schools.com/python/

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [26]
INTERNSHIP PRESENTATION-2023

CERTIFICATE
Parala Maharaja Engineering College

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [27]
INTERNSHIP PRESENTATION-2023
Parala Maharaja Engineering College

THANK YOU

Mr./Ms. ABC (Regd#


Mr. Aditya ETC
Prakash 1401109333) ETC 2201109243)
Parichha(Regd [28]

You might also like