Some Basic Python Tuple Programs-1

Some basic tuple programs

Tuple A tuple is an immutable and sequential collection of data that can be indexed and sliced. Python tuple can contain homogeneous as well as heterogeneous values of data types such as integers, floats, strings, lists, and dictionaries. Python Program to concatenate multiple tuples tup1 = (7, 1, 9) tup2 = (5, 2, 3, 4, … Read more

Slicing in python

Slicing

Slicing Slicing extracts a subset of elements from a sequence. In python, elements are sliced based on their index in the stream. As a sequence(List, tuple, and string) is an ordered stream of data, it can be indexed and sliced while a collection(Set and dictionary) is an unordered stream of data, thus they can’t be … Read more

Multi-Dimensional List In Python

What is List in Python List is a mutable and sequenced container. It can contain homogeneous objects as well as heterogeneous values such as integers, floats, strings, tuples, lists, and dictionaries. It can be indexed and sliced. A list that has other lists as its element is called the Nested list. Multi-dimensional list A one-dimensional … Read more

List Comprehension in Python – Explained with Examples

In this post we will learn about the basic of list data-type in python, creating list in python and list comprehension.   List in Python: List is a changeable and sequenced data type which allows it to be indexed and sliced. Lists are containers used to store heterogeneous values such as integers, floats, strings, tuples, … Read more

Dictionary and Tuple in Python – Difference in Properties

Dictionary and Tuple in Python

In this post, we will learn about tuples and dictionaries in python and how to use tuples as dictionary keys. What is tuple in python? A tuple is an ordered and immutable collection. Tuples can hold homogeneous values as well as heterogeneous values(integers, floats, strings, lists, dictionaries, etc). Tuples are sequential, thus they can be … Read more

List VS Tuple in Python – Differences Explained with Example

In this post we will learn about basic of list data-type in python, basic of tuple data-type in python and their difference with basic examples in place.   What is List in Python List is a mutable and sequenced data type. List can contain heterogeneous values such as integers, floats, strings, tuples, lists, and dictionaries … Read more

Python Object Oriented Programming

PYTHON : OOPs Python is a multi-paradigm programming language. It means that Python supports different programming approach. Python Object Oriented Programming approach (OOPs) is the  easiest and the most popular one among them . Introduction to OOPs Object Oriented Programming is referred as a programming approach , where the programs are organised as objects. This … Read more

How to install python (also pyCharm ) in 2020

So now let’s discuss how to install python in windows, Mac, Linux Android and also iOS. So don’t worry, we will cover your every device.   Some points to understand first related to python : There are 2 versions of python mainly used today: python 2 and python 3 I will recommend you to learn … Read more

Introduction to python in 2020

python is a high level, interpreted, general purpose programming language. i have given the introduction of python, the main software build using the Python, the advantages pros using the python, main areas in which Python is used. Difference between the compiler and interpreter language.

%d bloggers like this: