How to find the Greatest Number between two given Integer Number in Python? We can easily find the Greatest Value by using "if-else" Statement in Python.

#### Finding Greatest Number by Python :

```
a = int(input('Please Enter the First Value A : '))
b = int(input('Please Enter the Second Value B : '))
if(a > b):
print('%d is Greater than %d'%(a, b))
elif(b > a):
print('%d is Greater than %d'%(b, a))
else:
print('Both A and B are Equal')
```

## 0 comments:

## Post a Comment

Share your post related problems with us.