number_1 = int(input("Number 1: "))
number_2 = int(input("Number 2: "))
if number_1 < number_2:
print(number_2 - number_1)
else:
print(number_1 - number_2)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
number_1 = int(input("Number 1: "))
number_2 = int(input("Number 2: "))
if number_1 < number_2:
print(number_2 - number_1)
else:
print(number_1 - number_2)