SKILL DEVELOPMENT PRO
(ADUP)
Topic:
LISTS
Session – 6
, AIM OF THE SESSION
To familiarize students with the basic concept of
Apply different methods on lists
Manipulate data using different methods on lists
INSTRUCTIONAL OBJECTIVES
This Session is designed to:
1. Apply different methods on lists
2. Manipulate data using different methods on lists
LEARNING OUTCOMES
At the end of this session, you should be able to:
1. Apply different methods on lists
2. Manipulate data using different methods on lists
, SESSION INTRODUCTION
• Python provides several built-in collection data types that allow you to store an
manage multiple values efficiently.
• Each collection data type in Python has its unique characteristics and use cases
, PYTHON COLLECTIONS
Python Collections (Arrays)
There are four collection data types in the Python programming language:
• List. [“eee", “ece", "cse"]
• Tuple (“eee", “ece", "cse")
• Set {" eee", “ece", "cse "}
• Dictionary { " eee ": 100, “ece": 400, “cse": 1000}
Collection Order/ Changeable/ indexed Duplicate
type unordered unchangeable Members
List Order Changeable indexed Allow
Tuple Order Unchangeable indexed Allow
Set unordered Unchangeable Unindexed No Duplicate
Dictionary unordered Changeable indexed No Duplicate