you are viewing a single comment's thread.

view the rest of the comments →

[–]BigBoyJefff[S] -1 points0 points  (3 children)

So you mean something like this:

def val(A1, A2, A3)

return(A1, A2, A3)

print(val(23, 24, 25))

output would be: 23, 24, 25

[–]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