Write an algorithm which asks the user for two numbers and information if their product is negative or positive
Answers
Answered by
1
x, y = [int(n) for n in input("enter x y: ").split()]
print("product positive") if x * y > 0 else print("product negative")
Similar questions