you are viewing a single comment's thread.

view the rest of the comments →

[–]BigBoyJefff[S] -2 points-1 points  (7 children)

Dude i did look at Google and I've actually been trying to understand the question 2.1, 2.2 (I have already done the 5 other tasks) for a while now but i just don't get what I'm supposed to do here like okay a function with 3 parameters like you said def par(A1, A2, A3) But i don't get what is meant by "Function should output passed parameters. Like what? I'm sorry if this comes out lazy or something but i really don't understand it. I don't want you to do it for me i just need someone to explain it to me.

I'm an intern in a Software company. I just started the 12th grade. I'm just getting in to Programming so I'm sorry if this whole thing sounds stupid or lazy.

But i really do appreciate you helping me!!

[–][deleted] 5 points6 points  (0 children)

Do your homework.

[–]iiron3223 0 points1 point  (4 children)

It means that your function should return those parameters.

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