/whose-treat

A cute little python script to decide whose treat for a mysterious dinner.

Primary LanguagePythonMIT LicenseMIT

A cute little python script to decide whose treat for a mysterious dinner.

Background: JJ and MM want to have a fine dinner, celebrating their annual bonuses. They make this rule: This dinner is on the person who gets more annual bonus. And the cost of the dinner is the diff of money they make mod 300, per capita.

Requirement: Decide the money amount and the money provider, without letting one know how much the other's annual bonus is.

Method: Hide the input. Use the method "Best two out of three" in case of any typo, since the input strings are hidden.