Python Programming - Adding Two Numbers - Updated 2021

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Thank you for your informative video.
By the way, I will ask you of how to use loop if the user wants to try again and will input yes or no.

Thank you

radelynaredidon
Автор

for me it just says number + number = <built-in function sum>

thatguy
Автор

It doesnt work this is useless

gives error num1 not defined.

farhankutub
visit shbcf.ru