What should I change to get the result [7], but not 7. how do I pass a tuple with the list to bypass the for loop