0 votes
127 views
in Python by (98.9k points)
edited
Python Program to Add Two Numbers

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
num1 = 1.5
num2 = 6.3

sum = num1 + num2

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

 

Related questions

0 votes
1 answer 262 views
0 votes
1 answer 104 views
asked Jun 11, 2022 in Python by Doubtly (98.9k points)
0 votes
1 answer 138 views
asked Jul 20, 2022 in C programming by Doubtly (98.9k points)
0 votes
1 answer 108 views
asked Jul 20, 2022 in C programming by Doubtly (98.9k points)
0 votes
1 answer 98 views
asked Jun 11, 2022 in Python by Doubtly (98.9k points)
0 votes
1 answer 152 views
asked Jun 11, 2022 in Python by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

535 users

...