How to Add Two Numbers in Python


In this example we will show how to add two numbers in Python.

Source Code

a = 2
b = 6
c = a + b
print(c)

Output:

8
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments