Tools to write Programs

We have seen the basics of Python in the previous blogs. Hope you have followed the previous blogs. Now let us see how to write programs and let us look at things that need to be noted while writing programs.  A python file has a .py extension. For example:     If you are using... Continue Reading →


We have learnt about strings and lists. Now let us learn about loops. We use loops when we have to perform a particular action repeatedly. There are two types of loops in python- For loop and while loop. For loops iterate over a given fixed number of elements in a fixed definite sequence.    In... Continue Reading →

User Defined Datatypes – Typedef

It is a keyword, with the help of this we can put another name (alias)  to the existing data type. Syntax : typedef oldname newname; Example : typedef int rollnumber; //this a valid to compiler typedef int char; // this is not valid Here newname should not be a keyword means not known to the... Continue Reading →

Powered by

Up ↑