write a program to find out the minimum value of 2 elements
Answers
Answered by
0
from math import *
x = int(input())
y = int(input())
print(min(x,y))
Answered by
0
Answer:
This problem can be solved by applying the concept of Absolute Function and BODMAS rule.
For Maximum: [(x + y + abs(x - y)) / 2]
For Minimum: [(x + y + abs(x - y)) / 2]
Explanation:
HOPE IT HELPS
Similar questions