Question about this excercise. It asks you to “Create a function named
twice_as_large() that has two parameters named
I tried with the following solution, and it didn’t work:
def twice_as_large(num1, num2):
if num1 > num2 * 2:
The solution replaces the second line with if num1 > 2 * num2:
Does it mean we always have to put the number before the variable? Because it was basically the same thing.