Category: PYTHON

SET Data Structure in PYTHON

The SET Data Structure in PYTHON is an unordered collection of data type that is iterable, mutable and has no duplicate elements. The order of elements in a set is undefined though it may consist of various elements. If we want to represent a group of values without duplicates where order is not important then […]

Differences between List and Tuple

In this post we will be discussing Differences between List and Tuple in python. TUPLE Data Structure in PYTHON LIST Data Structure in PYTHON List and Tuple are exactly same except small difference: List objects are mutable where as Tuple objects are immutable. In both cases insertion order is preserved, duplicate objects are allowed, heterogenous objects […]

TUPLE Data Structure in PYTHON

TUPLE Data Structure in PYTHON is also an ordered collection of Python objects. The only difference between tuple and list is that tuples are immutable i.e. tuples cannot be modified after it is created. It is represented by tuple class. We can represent tuples using parentheses ( ). Values of a tuple are syntactically separated […]

LIST Data Structure in PYTHON

LIST Data Structure in PYTHON are just like the arrays, declared in other languages which is a ordered collection of data. It is very flexible as the items in a list do not need to be of the same type. A LIST Data Structure in PYTHON is formed(or created) by placing all the items (elements) […]

STRING Data Type in Python

In STRING Data Type in Python are arrays of bytes representing Unicode characters. A string is a collection of one or more characters put in a single quote, double-quote or triple quote. In python there is no character data type, a character is a string of length one. It is represented by str class. Strings […]

Data Types in Python

Data Types in Python are the classification or categorization of data items. It represents the kind of value that tells what operations can be performed on a particular data. Since everything is an object in Python programming, data types are actually classes and variables are instance (object) of these classes. Every value has its own […]

Python Tutorial – Learn Python

Our Python Tutorial will guide you to learn Python one step at a time. Python tutorial provides basic and advanced concepts of Python. Our Python tutorial is designed for beginners and professionals. Python is a simple, general purpose, high level, and object-oriented programming language.. It is used in web development, data science, creating software prototypes, […]

Operators in Python

Operators in Python Operators are constructs you use to manipulate the data such that you can conclude some sort of solution to us. A simple example would be that if there were 2 friends having 70 rupees each, and you wanted to know the total they each had, you would add the money. In Python, you use the + operator to […]