Sunday, 7 February 2016

Write a Python Program to Print Summation of Two Numbers

Write a Python Program to Print Summation of Two Numbers

"Print Summation of Two Numbers"

a=eval(input('Enter Value A:'))
b=eval(input('Enter Value B:'))
print('Summation :',(a+b))
Output :

>>>
Enter Value A:23
Enter Value B:21
Summation :44
>>>

No comments:

Post a Comment