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
>>>
"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