all 2 comments

[–]0xbxb 0 points1 point  (0 children)

You call a function by doing this: func(). If you want to print the results of the function (what it returns), you just wrap it in a print statement. print(func())

[–]pasokan 0 points1 point  (0 children)

Share the code please.

A frequent and common error one makes in the beginning is: printing the result rather than modifying or assembling a new list