Different between function and list? in code foundation path


When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:


I was searching for this information…Thanks for posting this.


A function does something. F(x) = x^2 is a function that squares what it is given.
A list holds things. [1,2,3,4,5] is a list of the numbers 1-5.
I can execute a function on each element of a list.


is it possible that some condition function is a part of list and list is part of function?
example : list = [x^3,x^4,x^5,…) or list = [f1,f2,f3,f4] ?
function ; f(x) = list 1 ^ 2x?