The user needs to insert three integer numbers. They should return their (product) only if it value is equal to or lower than 1000. Otherwise, they should return their sum.
def multiple_or_add(num1,num2,num3):
product = num1 * num2 * num3
if product < 1000:
return product
else:
return num1 + num2 + num3
num1 = int(input("Please insert your first value: "))
num2 = int(input("Please insert your second value: "))
num3 = int(input("Please insert your third value: "))
result = multiple_or_add(num1, num2, num3)
print("Your Result is =", result)
**resolve