0
Why a and b interchange for x and y
def multiply(x, y): return x * y a = 4 b = 7 operation = multiply print(operation(a, b))
2 Answers
+ 1
It's about scope:
https://code.sololearn.com/cKKoWv7uu3Bm/?ref=app
def multiply(x, y): return x * y a = 4 b = 7 operation = multiply print(operation(a, b))