Sum of Two Numbers | Addition of 2 Nums | Python Example Program

preview_player
Показать описание
In this Python Video Tutorial you will learn How to Write a Python Program to find the Sum of Two Numbers ( Addition of 2 Numbers ).

This is one of the simplest Example Program for beginners where we ask the user to enter two numbers and we store them in two variables. After that we use the addition operator and we store the result and we display that to the screen.

our Social Media Pages

Our Website

#PythonProgramming #ExampleProgram
Рекомендации по теме
Комментарии
Автор

Im completely new and can i know why does the arithmatic operations be enclosed with the quotes

shilloe
Автор

This video helped me so much and I just want to thank you so much. I very much appreciate it. Lastly, thanks for breaking it down into steps so we can understand it easily.

iamthegoatbacon
Автор

Thanks dude you helped me to do it cause I'm a newbie and was literally confused in doing it while doin' my project . I am gonna sub you for more.

LilacMoon
Автор

Thank you for breaking it down and making it easy to understand :)

hellaevie
Автор

If you want to do the same with decimals just replace "int" with "float"

cosimo
Автор

Thank you so much! You just really helped me with my homework.

kathryll
Автор

Thank you so much I have a test on this and it really helps!

knm
Автор

thank you very much i got many from this

malinduguruge
Автор

Thank you so much! This is such a big help

jenjentorres
Автор

Very Helpful and Easy Video
Thanks a Lot

sanjaymagesh
Автор

It's really halpfull... tnq so much brother..☺

farakhterrea
Автор

Thank you helped me more than the entire search engine

nickvacc
Автор

Thanks sir your program really helped me

MECHALORD
Автор

Thank you randomn indian guy from the internet!

mr.knedla
Автор

a=int(input("Enter first value:"))
b=int(input("Enter second value:"))
print("sum of a and b is", "{}+{}={}".format(a, b, a+b))

suprathireddybhumanapalli
Автор

This is my First python program thank you for clarification nice one but one doubt i have to ask now why you didn't put ; in above program

prabhathkalyan
Автор

This video is very helpful for students thank u sir

shaluchandil
Автор

Hey start learning python from today.so can you give me the link of this software

rohanmukherjee
Автор

Enter Number 1 : 10
>>> num2 = int(input("Enter Number 2 : "))
Enter Number 2 : 20
>>> num3 = int(input("Enter Number3 : "))
Enter Number3 : 30
>>> num4 = int(input("Enter Number 4 : "))
Enter Number 4 : 40
>>> result = num1 + num2 + num3 + num4
>>> print (num1, "+", num2, "+", num3, "+", num4, "=")
10 + 20 + 30 + 40 =
>>> print (num1, "+", num2, "+", num3, "+", num4, "=", result)
10 + 20 + 30 + 40 = 100


i did it for four sum and i got the result thank you so much for the tutorial

NXTASH
Автор

beautiful explanation bro. Keep it up

rohankolambkar