In this blog, we will be using several methods for displaying items in a list in reverse order.
Read More »Python string methods
This blog describes some of the string methods used in python. Strings has richer set of methods which are inherited from string module in earlier version of pythons.
Read More »List Method Part 2
In this blog, we will be discussing about some of the list methods. List methods can be used for inserting item into a list, appending a new item into a list, sorting items in a list and many more
Read More »List Method Part 1
In this blogs, we will look at some of the list methods. List is the collection of items of different data types. List can include string, integer and other data type values.
Read More »Finding whether the number entered by user is positive, negative or zero
In this blog , we will be creating a program to determine whether a number entered by user is positive, negative or zero. Program uses if elif and else statement.
Read More »Finding Odd or Even number using if and else
To find odd and even number, we will be using if and else condition. This if and else condition will be created inside a function that we can call after getting value from the keyboard.
Read More »Conditional Programming
Conditional programming or branching is something that we use every day or every moment. For example, if it s raining then i need to carry an umbrella. If i am late for work, then i need call my manager.
The main tool in conditional programming is the if statement. This if statement has different form and can be use according to our requirement.
Functions in Python
Functions are group of statement created to perform specific task. There are several built in functions in Python such as print() to display output, sqrt() for calculating square root.
Read More »Finding biggest element from a list
Python provides max() function for finding biggest element from a list.
max() function returns a biggest element from a list.
There is also other way of finding biggest element from a list instead of using max() function. We can apply some logic to find biggest element from a list.
Read More »