This is a official website of instagram page @coding_planet

Saturday, November 10, 2018

Add Two Numbers (Python #1)

  Python  Program To Add Two Numbers 


Input:




num1 = 4.7
num2 = 8.3


sum = float(num1) + float(num2)


print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

Output:



The Sum Of 4.7 And 8.3 Is 13

Share:

Related Posts:

0 Comments:

Post a Comment

About

Blogger templates

3/recent/post-list