All Programs

#### Basic Python Programs

Simple Python programs

#### If Condition Programs

If condition based Python Programs

#### Looping based programs

program based on for loop, while loop, range

#### Searching and Sorting

Python Searching Programs
Python Sorting Programs

# If Condition Based Python Programs

The following section contains programs on different types of mathematical functions. These include programs to checks whether the given number is positive , negative , even or odd. We also have programs to checks whether a given year is leap year or not.  and many more.

### Python program to check number is +ve or not.Python program to check number is -ve or not.Python program to check person can vote or notPython program to check number is even or notPython program to check number is odd or not Python program to print larger of two numbers Python program to print smaller of two numbers Python program to check number is +ve , -ve or zero. Python program to check number is even , odd or zero Python program to print largest of three numbers Python program to print smallest of three numbers Python program to print sum of digits of a 2 digit number Python program to print sum of digits of a 3 digit number Python program to print sum of 1st and last digits of a 3 digit number Python program to print sum of digits of a 4 digit number Python program to print sum of 1st and last digits of a 4 digit number

Important Pages Visitor Counter       