Python Programming - Adding Two Numbers - Updated 2021

Publié le: 29 octobre 2018
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Programming - Adding Two Numbers - Updated 2021 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur WeMakeItEasy 29 octobre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,590 fois et il a aimé 41 téléspectateurs. Bon visionnage!