2026fa_cse160/homework/homework04/fstrings/program01.py

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)