(Nov-09-2020, 02:32 AM)KEYS Wrote: I feel i have to be able to hold the actual function in the list because i cant think of any other way to be able to select and print(see) the item as is through a list.You can iterate over items in a list and apply a fucntion on each item, no need to have the function in a/the list
e.g.
for item in some_list: some_function(item)or using list comprehension (e.g. if you have a list and want to create new list with elements being the result, i.e. value returned by some function)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs