Python Programming - Adding Two Numbers - Updated 2021

Published: 29 October 2018
on channel: WeMakeItEasy
6,590
41

Make it Easy to Add Two Numbers using Python Programming ..

=Code=

NUM1 = input('Enter first number: ')
NUM2 = input('Enter second number: ')

sum = float(num1) + float(num2)

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

=End Code=

In this program, we asked user to enter two numbers and the program displays the sum of two numbers entered by a user


On this page of the site you can watch the video online Python Programming - Adding Two Numbers - Updated 2021 with a duration of hours minute second in good quality, which was uploaded by the user WeMakeItEasy 29 October 2018, share the link with friends and acquaintances, this video has already been watched 6,590 times on youtube and it was liked by 41 viewers. Enjoy your viewing!