Array in Python

Array in Python

Array in Python Python does not have in-built array. However, in C/C++ and Java you have learnt array and have expectation that it would be in Python. Further, array also a very important data structure…


No Image

Dictionary in Python

Dictionary in Python Dictionary in Python is collection of unordered items. Python provide in-built support for dictionary. Unlike, other in-built data structures in which they have single value such list, tuple and set. Python uses…


Tuples in Python

Tuples in Python

Tuples in Python Tuples in Python are ordered collection of items(integer, float, string) which are immutable. The only difference from list you can notice that a tuple in Python is immutable. Further, it uses parenthesis…


Decision Making in Python

Decision Making in Python

  Decision making is fundamental in making a program. All programming languages provide in-built structure for it and Python is not exception. In this post, I will explain decision making using if else statements. Syntax…


No Image

Sets in Python

Sets in Python Set is an unordered collection of unique elements. Items in sets are immutable which can not be replaced or changed. Elements of a set can not be accessed using indexing or a…



List in Python

List in Python

List in Python List in Python is a very powerful data structure which can store any type of data which is supported by Python. It is created using square bracket for example l=[2,4,5.2,’post’,’network’,10] this statement…


Sets and Relations

Sets and Relations

Sets Set is a collection of well-defined objects. Set’s Representation Basically, there are two ways of a set representation. Types of Set 1-Null Set A set is called null set if it is empty or…


Matrix of a Quadratic Form in 3 Variables

Quadratic Form in Linear Algebra

Quadratic Form in Linear Algebra An expression is called quadratic form in the variables x1, x2, x3,………….,xn over field F. Where aij i=1,2,3,….n, j=1,2,3,….m are elements of F. If aij are real then quadratic form…