SyntaxFix
Write A Post
Hire A Developer
Questions
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()