How to put a list into a function?


HI, why does the code on side “2” work and the code “1” doesnt, and how can i make it work as a function?python%20doesnt%20work


calling print on the purify function call, prints the returned value. What does your purify function return? Not the list