2. List element modification


#1



it throws following error:

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


it should work


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


#2

You are supposed to print just n not,

should be,

print n

But the print statement should come after,

n[1] = n[1] * 5


#3

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