How can I change the format in which multiple return values from a function are displayed. When I print the function, the two return values are displayed inside parentheses. Is there a way to change this?
def test():
x = 1 + 1
y = 2 + 2
return x, y
print(test())
This prints the following: (2, 4)
I would like for it to be displayed like this: 2 and 4