We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Find the Increase

Assignment

Every day, character levels are recorded in a list. When someone levels up, we congratulate them! Your assignment is to compare the levels to identify which characters need to be congratulated!

Complete the loop inside check_character_levels. It already loops over all of the indexes i in old_character_levels. The old_character_levels and new_character_levels lists are the same length, which means you can use i to index into both.

For example, if the lists are:

old_character_levels = [2, 5, 3, 7, 5]
new_character_levels = [2, 5, 19, 7, 8]

Then your code would print these indexes:

2
4