I would like to return two values from a function in two separate variables. For example:
def select_choice(): loop = 1 row = 0 while loop == 1:
I think you what you want is a tuple. If you use return (i, card), you can get these two results by:
return (i, card)
i, card = select_choice()
you can try this
class select_choice(): return x, y a, b = test()