2 help!


#1

I put this
n = [1, 3, 5]
x = n[1] * 5# Do your multiplication here
n.remove(1)
n.append(x)
print n

but I get this:

[3, 5, 15]
None

And it says: Oops, try again. Did you remember to multiply the second element in the list by 5?

Can someone please help!!!!!! HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


#2

Why do you make it yourself so complicated? You can simply tell n[1] to get a new value:

n[1] = n[1] * 5

i do not understand why you multiply it to a new value, remove it, and then append it to the end of the list