0% found this document useful (0 votes)
4 views12 pages

Internship

This presentation covers key Python concepts including data types, loops, lists, tuples, dictionaries, and object-oriented programming concepts. It is presented by group members Pawan Mohite, Nakul Sharma, Shrawan Bora, and Saket Ambede and addresses topics like built-in Python data types, for, while and do-while loops, lists, tuples and dictionaries, classes and objects, inheritance, and polymorphism.

Uploaded by

Pawan Mohite
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)
4 views12 pages

Internship

This presentation covers key Python concepts including data types, loops, lists, tuples, dictionaries, and object-oriented programming concepts. It is presented by group members Pawan Mohite, Nakul Sharma, Shrawan Bora, and Saket Ambede and addresses topics like built-in Python data types, for, while and do-while loops, lists, tuples and dictionaries, classes and objects, inheritance, and polymorphism.

Uploaded by

Pawan Mohite
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/ 12

Internship PPT

Group Members:-

1]Pawan Mohite
2]Nakul Sharma
3]Shrawan Bora
4]Saket Ambede
Topics Covered

 1]Datatype in Python .

 2]Loops in Python .

 3]List , Tuples , Dictionaries in Python .

 4] OOP’s Concept in Python .


*Datatypes in Python:-
 Data types are the classification or categorization of data items. It represents the
kind of value that tells what operations can be performed on a particular data .

 Python has the following data types built-in by default, in these


categories:
 Text Type:str;
 Numeric Types:int ,float , complex
 Sequence Types: list , tuple, range
 Mapping Type: dict
 Set Types: set, frozenset
 Boolean Type: bool
 Binary Types: bytes , bytesarray
*Loops in Python:-
 A loop is an instruction that repeats multiple times as long as some condition is
meet .

 1]While loop:-
  While Loop is used to execute a block of statements repeatedly until a given condition is
satisfied.

 2]Do-while loop:-
 The do while loop is used to check condition after executing the statement. It is like while
loop but it is executed at least once.

 3]For loop:-
 For loop is used for iterating over a sequence and for loop is used to exeute set of statements.
 .
*List , Tuples , Dictionaries:-

 1]List:-
 Lists are used to store multiple items in a single variable. Lists are one of built-in
data types in Python used to store collections of data.

 2]Tuples:-
 Tuples are used to store multiple items in a single variable. Tuple is one of data types
in Python used to store collections of data.

 3]Dictionaries:-
 Dictionaries are used to store data values in key:value pairs and  collection of key-
value pairs.
*OOP’s Concept:-


1]Class and Object

 2]Inheritance

 3]Polymorphism
*Class and Object:-

 1]Class:-
 Class is a user-defined data type that contains both the data itself and the methods that may
be used to manipulate it.
 Syntax:- Class class_name:
 Example:- Class fruit:

 2]Object:-
 An Object is an instance of a Class and almost everything in python is considered as object.
Syntax:-object-name = class-name(<arguments>)      
 Example:- fru= fruit()
*Inheritance:-

 Inheritance allows us to define a class that inherits all the methods and


properties from another class.
 *Types of Inheritance :-
 1]Single Inheritance
 2] Multiple Inheritance
 3] Multilevel Inheritance
 4] Hybrid Inheritance
 5] Hierarchical Inheritance
*Polymorphism:-

 Polymorphism means having many forms. In programming, polymorphism means


the same function name (but different signatures) being used for different types.
 Some Ways to implement Polymorphism:-
 1]Method Overloading.
 2]Operator Overloading.
 3]Method Overriding.

You might also like