減法
a, b = 1, 2
# Using the "-" operator:
b - a # = 1
import operator # contains 2 argument arithmetic functions
operator.sub(b, a) # = 1
可能的組合(內建型別):
int和int(給一個int)int和float(給一個float)int和complex(給一個complex)float和float(給一個float)float和complex(給一個complex)complex和complex(給一個complex)