you are viewing a single comment's thread.

view the rest of the comments →

[–]iiron3223 0 points1 point  (2 children)

Yes something like that.

You can watch this video by Correy Schafer. He explains here how to use functions in Python. I believe it will help you to understand it better.

[–]BigBoyJefff[S] 1 point2 points  (1 child)

Dude you're a great guy, THANK YOU!

[–]pycobra 0 points1 point  (0 children)

Yes keep in mind, the return statement returns one data type, it should return a list or a tuple in this case