Skip to content

Instantly share code, notes, and snippets.

@thepycoach
Created October 31, 2020 20:18
Show Gist options
  • Select an option

  • Save thepycoach/cf3983c8d3831eaa3d1b0f149cd107d8 to your computer and use it in GitHub Desktop.

Select an option

Save thepycoach/cf3983c8d3831eaa3d1b0f149cd107d8 to your computer and use it in GitHub Desktop.
def find_surebet(odds1, odds2):
sum_odds = (1/odds1) + (1/odds2)
if sum_odds<1:
message = 'Surebet Found!'
else:
message = 'Keep scraping'
return message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment