Ответ:
a = float(input("a: "))
b = float(input("b: "))
if 2*a - b == 0:
print("Invalid input!")
else:
x = (a + 3*b) / (2*a - b)
print("x:", x)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a = float(input("a: "))
b = float(input("b: "))
if 2*a - b == 0:
print("Invalid input!")
else:
x = (a + 3*b) / (2*a - b)
print("x:", x)