Function is a group of related statements which perform a specific task in our program.Function implementation breaks our program into […]
Author: pythoneveryday
While Loop
the while algorithm:while conditional_expression:instruction_oneinstruction_twoinstruction_three::instruction_n the important thing to remember:if you want to execute more than one statement inside one while, […]
Python Dictionary
Dictionary in python is unordered collection of items. While other compound data types only have value, a dictionary has a […]
Modules
A python module is simply a pyhton source file which can expose classes, function and global variables. When imported from […]
Python tuples
Tuple is likely a list, but the differences is that we can’t change the elementsof a tuple once it is […]
Python Inheritance
It refers to define a new class in an existing class. The new class is called deriveclass (child class), and […]
Iteration Using For
For loop is used to iterate over sequence (list, tuple, string). We can generate a sequence of numbers using range() […]