Use of the built-in function map to create new lists for example.
Defining mylist to to have the elements 1, 2, 3, 4, 5 and 6.
Defining mylist2 to have the elements Pasta, Potatoes, Carrots, Rice, Bacon, Fish and Spinach.
Examples
Doubling each element in mylist to return a list with the elements 2, 4, 6, 8, 10 and 12.
Calculating the length of each word element in mylist2 to return a list with the elements 5, 8, 7, 4, 5, 4 and 7.
Squaring each element in mylist to return a list with the elements 1, 4, 9, 16, 25 and 36.
Getting the first character of each element in mylist2 to return a list with the elements P, P, C, R, B, F and S.
Getting the character of each element in mylist that represents the unicode of 64 plus the element in order to return a list with the elements A, B, C, D, E and F.