Completed the 2nd exercise by running this code:

n = [1, 3, 5]

Do your multiplication here

result = n[1] * 5
n[1] = result
print n

Was wondering if there is a more efficient way to do this? How did everyone else complete this exercise?


I don't know for sure so nobody hate on me please but, could you just print result


instead of n[1] = result and print n


@joetynan Ah yes I see. The second line is unnecessary. Cheers!


print n[1]*5

)) Cheers.
By the way, it is very convenient to say what task do you solve, for example 10/11 and so on.
You will get your answer quicker.

Best regards!


@arcninja06234 Thanks alot. I'll try to remember to put which exercise I did for future refernce!
Cheers :smiley: