2/18


#1



https://www.codecademy.com/courses/python-beginner-nzzVa/0/2?curriculum_id=4f89dab3d788890003000096


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


Replace this line with your code. 
n = [1, 3, 5]
# Do your multiplication here
v = n[1] * 5
print v


#2

Instead of trying to create a new variable v, it wants you to rewrite your second list item using bracket notation.
Basically, you are declaring that n[1] is now equal to n[1] * 5 so that you can overwrite your list.

:smile_cat:


#3

n = [1, 3, 5]

Do your multiplication here

n[1] == n[1] * 5
print n[1]
but this is still wrong


#4

Okay the problem is this:

You only use a double equal sign when it is a conditional statement rather than when you are assignment something a value. Also, I think your print line should just say print n.

"Make sure you print the list when you're done."

:slight_smile:


#5

THANK YOU :smiley:
n = [1, 3, 5]

Do your multiplication here

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


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.