☰
Python Tutorial
Python - Basic
Python - Installation
Python - Variables
Python - Data Types
Python - Type Casting
Python - Operators
Python - Input & Output
BRANCHING
Python - If - Else
LOOPS
Python - While Loop
Python - For Loop
Python - Nested Loops
Python - Break
Python - Continue
Python - Pass
DATA TYPES
Python - Numbers
Python - Strings
LIST
Python - Lists
Python - Accessing List
Python - Nested List
Python - Replace List Elements
Python - Insert in List
Python - Join two Lists
Python - Remove from List
Python - Copy from List
Python - Sort List Elements
Python - Reverse a List
Python - List Comprehension
Python - List Methods
SET
Python - Set
Python - Insert in Set
Python - Join two Sets
Python - Remove from Set
Python - Copy from Set
Python - Sort Set Elements
Python - Set Methods
TUPLE
Python - Tuples
Python - Accessing Tuple
Python - Nested Tuples
Python - Packing Unpacking Tuple
Python - Join two Tuples
Python - Copy from Tuple
Python - Tuple Methods
DICTIONARY
Python - Dictionary
Python - Insert in Dictionary
Python - Update Dictionary
Python - Remove from Dictionary
Python - Copy from Dictionary
Python - Dictionary Methods
FUNCTION
Python - Function
Python - Function Arguments
Python - Recursion
Python - Fibonacci Series
Python - Lambda/Anonymous Function
Python - Scope
Python - Module
Python - Package
OOPS
Python - OOPS
Python - Classes & Objects
Python - Constructors
Python - Inheritance
Python - Method Overriding
Python - Multiple Inheritance
FILES
Python - Files
Python - Write to File
Python - Reading Files
Python - Deleting Files
EXCEPTION
Python - Exception Handling
Python - Custom Exception
DATE TIME
Python - Date & Time
REGEX
Python - Regex
Regex - Meta Characters
Regex - Special Sequences
Regex - Functions
ADVANCED
Python - Operator Overloading
Python - Iterators
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
OTHERS
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
Python Tutorial
Python - Basic
Python - Installation
Python - Variables
Python - Data Types
Python - Type Casting
Python - Operators
Python - Input & Output
BRANCHING
Python - If - Else
LOOPS
Python - While Loop
Python - For Loop
Python - Nested Loops
Python - Break
Python - Continue
Python - Pass
DATA TYPES
Python - Numbers
Python - Strings
LIST
Python - Lists
Python - Accessing List
Python - Nested List
Python - Replace List Elements
Python - Insert in List
Python - Join two Lists
Python - Remove from List
Python - Copy from List
Python - Sort List Elements
Python - Reverse a List
Python - List Comprehension
Python - List Methods
SET
Python - Set
Python - Insert in Set
Python - Join two Sets
Python - Remove from Set
Python - Copy from Set
Python - Sort Set Elements
Python - Set Methods
TUPLE
Python - Tuples
Python - Accessing Tuple
Python - Nested Tuples
Python - Packing Unpacking Tuple
Python - Join two Tuples
Python - Copy from Tuple
Python - Tuple Methods
DICTIONARY
Python - Dictionary
Python - Insert in Dictionary
Python - Update Dictionary
Python - Remove from Dictionary
Python - Copy from Dictionary
Python - Dictionary Methods
FUNCTION
Python - Function
Python - Function Arguments
Python - Recursion
Python - Fibonacci Series
Python - Lambda/Anonymous Function
Python - Scope
Python - Module
Python - Package
OOPS
Python - OOPS
Python - Classes & Objects
Python - Constructors
Python - Inheritance
Python - Method Overriding
Python - Multiple Inheritance
FILES
Python - Files
Python - Write to File
Python - Reading Files
Python - Deleting Files
EXCEPTION
Python - Exception Handling
Python - Custom Exception
DATE TIME
Python - Date & Time
REGEX
Python - Regex
Regex - Meta Characters
Regex - Special Sequences
Regex - Functions
ADVANCED
Python - Operator Overloading
Python - Iterators
❮❮ PREV
NEXT ❯❯
PYTHON
-
LIST METHODS
Functions
used in
Lists
Although
, we have described all the Functions above.
Below is the List
.
Note :
Please click on the below methods to get details.
Method
Description
sort( )
Used to Sort a List
reverse( )
Used to reverse the elements in the List
remove( )
Used to remove an element from the List
insert( )
Used to insert an element at a specific location
index( )
Used to return the first occurrence of that element in the List
count( )
Used to return the number of occurrence of the element specified
extend( )
Used to add the elements of the List at the end of the current List
copy( )
Used to make a copy of the List
pop( )
Used to remove an element from the List
append( )
Used to add an element at the end of the List
clear( )
Used to remove all the elements from the List
❮❮ PREV
NEXT ❯❯