Python Addition Operator

In Python, Arithmetic Addition Operator takes two operands and returns their sum.

Syntax

The syntax to find the sum of two numbers: a and b using Addition Operator is

</>
Copy
a + b

The above expression returns a number.

Example

In the following program, we take two numbers: a, b; and find their sum.

main.py

</>
Copy
a = 5
b = 4

result = a + b

print(result)

Output

9

Conclusion

In this Python Tutorial, we learned about Arithmetic Addition Operator, its syntax, and usage, with examples.