blob: 7579373aa4cb1322cbe4e4283b3eae2aa26bfebf (
plain) (
blame)
1
2
3
4
5
6
7
8
|
from math import gcd
a = int(input('Enter first number: '))
b = int(input('Enter second number: '))
print('Sum:', a + b)
print('Product:', a * b)
print('Difference:', a - b)
print('GCD:', gcd(a, b))
|