Subtraction

suggest change
a, b = 1, 2

# Using the "-" operator:
b - a                  # = 1

import operator        # contains 2 argument arithmetic functions
operator.sub(b, a)     # = 1

Possible combinations (builtin types):

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents