Arrays

What is an array?

The array is a basic data structure which is provided by every programming language. It is a group of related data items that has the same name or share a same type. For example: let us declare an array with the name MARKS to represent the set of marks of some certain students. Each data item within an array is represented with the index number in brackets after the array name. Continue reading

Object Oriented Programming in Python

As in Python it is not necessary to create our code into classes while developing program as we can use functions also which is known as Procedural Programming. However, a procedural programming is used for writing small, short and simple programs whereas object oriented programming (OOP) programs becomes more important as the programs grows in size and complexity. The Python has been the object oriented language since it is developed. Continue reading