Riddle:
I invite you to play the following card game: Shuffle the ordinary pack of cards and deal them in pairs, face up. If both cards of a pair are black, you get them; if both are red, I get them. Otherwise, the cards are ignored. You pay $1 for the privilege of playing the game. When the deck is exhausted, the game is over, and you pay nothing if you have no more cards than I have. On the other hand, I'll pay you $3 for every card that you have more than I have. Would you care to play with me?
Python Solution:
Riddle source:
https://cambomaths.wordpress.com/wp-content/uploads/2012/03/fivehundredmathematicalchallenges.pdf