write a program to accept two numbers from users input and print the greater of two numbers
Answers
Answered by
0
nums = input("enter 2 nums: ").split()
ints = [int(num) for num in nums]
print(f"min: {min(ints)}\nmax: {max(ints)}")
Similar questions
India Languages,
3 months ago
Science,
3 months ago
Social Sciences,
3 months ago
Math,
6 months ago
Art,
6 months ago
Biology,
11 months ago
Physics,
11 months ago
Biology,
11 months ago