it is not clear from your message how the list is defined.
I think that your teacher meant that function retrieve should be used to find the element in the list that you want to increment. And function replace will replace old value of an element with the incremented value.
thank you vary mach :) :)
i agree with you >>>
the question ask to increment every element in the list but i think that replace & retrieve function will not work in this question so how i could writ this function in the main function