Python basic addition program

x = input ('Enter the value of x')
y = input ('Enter the value of y')
z = int(x) + int(y)
print ('the value of x', x, 'the value of y',y,  'but sum of x and y is' ,z,sep=' = ')

Comments

Popular Posts