This question already has an answer here:
- Manipulating a sublist based on position 5 answers
I have a list of doublets:
How can I apply a function on the list that would map only to the second element of each doublet?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
You can also try
which is equivalent to