Skip to Content
Learn
Lists and Functions
List element modification

You’ve already learned how to modify elements of a list in a previous section. This exercise is just a recap of that!

Instructions

1.

On line 3, multiply the second element of the n list by 5

Overwrite the second element with that result.

Make sure to print the list when you are done!

Folder Icon

Take this course for free

Already have an account?