07.08.2020, 12:14
You don't need to create a function for this, just use math.max instead. It accepts any number of arguments, not just 2.
As for your second example, you assign 4 to max variable. 10 is not assigned to any variable. You can assign multiple variables this way but you need to specify them like this:
As for your second example, you assign 4 to max variable. 10 is not assigned to any variable. You can assign multiple variables this way but you need to specify them like this:
Code:
a, b = 4, 10
log(a, b)