Tag: python list

python list

5 Major Difference Between List and Tuple in Python

What is the difference between tuple and list in Python? Why is tuple immutable and list mutable? Where to use Tuple and List?

Python

What is the Difference Between is and == in Python?

When to use ‘is’? When to use ‘==’? And what is the Difference Between is and == in Python? It’s really confusing for python programmer.

Python

Python Lambda Function List Comprehension | Map, Filter, Reduce

What is Python lambda function list comprehension? Explained with map, filter, reduce examples. Difference between normal function and lambda.

Python

Difference between Mutable and Immutable in Python | Data Types

What is the difference between mutable and immutable in python? Why is tuple immutable data type in Python if a list is mutable?

Python

How to Randomly Select Item from List in Python? [Choice method]

How to Randomly Select Item from List in Python Using random.choice() method and Python numpy module? Explained with examples.

Python

How to Find Unique Elements from List in Python?

How to Find Unique Elements from List in Python using set operation? Explained with complete program and by giving a simple example.