Closed jonathan-j-stone closed 7 years ago
@ILeftTheLaw I used an extra variable called mult=i j to make the code easier to read for beginners. In your example, you are not using mult = i j for anything. In the original, mult got passed into append: list3.append(mult). You can also just append the value and get rid of the variable entirely: list3.append(1*j).
I was able to produce the exact same result as your solution:
. . . only I did not include the line:
mult = i * j
anywhere in my code.Why is that?