2/18 Issues


#1

I'm stuck at List element modification:

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

I run this bit of code:

n = [1, 3, 5]
# Do your multiplication here
n[1] = n[1] * 5
print n[1]

It returns with a dialogue box stating:

Oops, try again. Did you accidentally remove the print statement that was on line 4?

It prints the correct number, 3 * 5 but it doesn't say that I have done it correctly. I'm a completionist and I want this to be finished because it's pretty easy!


#2

You need to print out the entire list, not just the middle element.


#3

So it will be
print n


#4

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