DevJourney · code I wrote while learning
sum-of-two-numbers.py
164 Bx = float(input("Enter the first number: "))
y = float(input("Enter the second number: "))
s = x + y
print("Sum of the numbers {0} and {1} is {2}".format(x, y, s))DevJourney · code I wrote while learning
x = float(input("Enter the first number: "))
y = float(input("Enter the second number: "))
s = x + y
print("Sum of the numbers {0} and {1} is {2}".format(x, y, s))