val1 = float(input("Enter a value for val1 ")) val2 = float(input("Enter a value for val2 ")) # using the addition operator res = val1 + val2 print("The sum is ",res)