- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 11365 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
846 Views
Multidimensional Lists are Lists within Lists. The left index as row number and right index as column number, for example list[r][c] Above, r is row number and c is column number. Let’s see an example. For multidimensional list 2x3 − list [2][3] Create a Multidimensional Python List Example ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
847 Views
The arrays in Python are ndarray objects. To create arrays in Python, use the Numpy library. Array is a container which can hold a fix number of items and these items should be of the same type. To work with arrays in Python, import the NumPy library. First, let us ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
3K+ Views
To remove more than one item from a list, we can use various ways as discussed in this article. Let’s say have the following input List − ["David", "Jacob", "Harry", "Mark", "Anthony", "Steve", "Chris"] Following is the output when multiple elements “David” and “Harry” are removed − ["Jacob", "Mark", ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
354 Views
To remove duplicates from a List in Python, we can use various ways as discussed in this article. Remove duplicates from a list using Dictionary Example In this example, we will remove duplicates from a list using OrderedDict − from collections import OrderedDict # Creating a List with duplicate ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
464 Views
Python Sequences includes Strings, Lists, Tuples, etc. We can merge elements of a Python sequence using different ways. Let’s see some examples of iteration over a List in reverse order. Iterate in Reverse Order using while loop Example In this example, we have a List as a sequence and iterate ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
188 Views
First, we will see how to convert Tuple into a List in Python. Convert Tuple with Integer Elements into a List To convert Tuple to a List, use the list() method and set the Tuple to be converted as a parameter. Example Let’s see the example # Creating a Tuple ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
11K+ Views
To read or write a binary file, at first you need to understand the different file modes for Binary Files in Python − Mode Description rb Opens a file for reading only in binary format. The file pointer is placed at the beginning of the file. ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
182 Views
In this article, we will learn the new features in Python 3.10, compared to 3.9. Let’s see the features − Parenthesized context managers Using enclosing parentheses for continuation across multiple lines in context managers is now supported. This allows formatting a long collection of context managers in multiple lines in ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
1K+ Views
To delete a file, use the remove() method in Python. Pass the name of the file to be deleted as an argument. Let us first create a file and read the content: We will display the contents of a text file. For that, let us first create a text file ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
645 Views
Functional programming languages are specially designed to handle symbolic computation and list processing applications. Functional programming is based on mathematical functions. Some of the popular functional programming languages include: Lisp, Python, Erlang, Haskell, Clojure, etc. Characteristics of Functional Programming The most prominent characteristics of functional programming are as follows − ... Read More