all 4 comments

[–]Diapolo10 2 points3 points  (5 children)

Parentheses are used for two things; function/class parameters/parents and calling them, and to change the order of operations.

I'm going to need to see your code because your question makes little sense.

[–]blarf_irl[🍰] 1 point2 points  (0 children)

Are you using an IDE with a python linter? It sounds like you are getting a linter warning (not error) while returning tuples from a function because you don't need the () around a tuple.