Sum of Two Numbers Easy Python Program | python Language Programming 2021

Sum of Two Numbers Easy Python Program | python Language Programming 2021


Adding of two numbers program in python

About the program: 

The program we are writing was mainly about adding of two numbers by using the python language  (or) in the python language 


Explanation: 

First, we have taken two values mainly 

the two values are 

-> A = 5

-> B = 10 

after that, we need to write the condition for adding these two values.  the condition was 

-> c = a+b

here we just want to find the value of c 


Source code: 

#Addition of two numbers    ( Comment) 

A = 5  

B = 10

C = A+B

Print(C) 

Expected output:  15


addition of two numbers learn python onlinie



Program Explanation: 

-> First we have taken two alphabets  "A" and "B" and assigned two values to them 

-> Given a condition "C = A+B" to perform the addition function 

-> later we had used the "print() function" along with the string "c" the output was displayed 

Post a Comment

Previous Post Next Post