7 lines
169 B
Python
7 lines
169 B
Python
|
|
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)
|