print("The sum is %0.1f"%( float(input("Enter first number: "))+float(input("Enter second number: "))))

print("The sum is {0}".format( float(input("Enter first number: "))+float(input("Enter second number: "))))