# Python Program to find Biggest of Three Numbers

You are Here:

## Find Biggest of Three Numbers

In the following example, we will find which of the following numbers (40, 25, 7) is the biggest number.

### Example

Python Compiler

import math
a = 40;
b = 25;
c = 7;
print("The numbers are a = %d, b = %d, c = %d " % (a, b, c));
if(a > b and a > c):
print("a = %d is the biggest number" % a)
elif(b > c):
print("b = %d is the biggest number" % b)
else:
print("c = %d is the biggest number" % c)

### Output

The numbers are a = 40, b = 25, c = 7
a = 40 is the biggest number

## Find Biggest of any Given Three Numbers

In the following example, we will find the biggest of any given three numbers.

### Example

Python Compiler

a = int(input("Enter an integer for a = "));
b = int(input("Enter an integer for b = "));
c = int(input("Enter an integer for c = "));
if(a > b and a > c):
print("\na = %d is the biggest number" % a)
elif(b > c):
print("\nb = %d is the biggest number" % b)
else:
print("\nc = %d is the biggest number" % c)

### Output

Enter an integer for a = 13
Enter an integer for b = 25
Enter an integer for c = 36
c = 36 is the biggest number

## Reminder

Hi Developers, we almost covered 90% of **String functions and Interview Question on Python** with examples for quick and easy learning.

We are working to cover every Single Concept in **Python**.

Please do google search for:

## Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.