for i in range() is a type of for loop that repeats indented code underneath.
Another type of for loop can be used to loop through items in a list.
rucksack = ["sword","Gem","Rope","Healing potion"]
for item in rucksack:
print(item)
#Create a list called rucksack
#Create a for loop (item can be any word) to look through rucksack
#Print each item one at a time
This would output as
>>>
sword
Gem
Rope
Healing potion
>>>