Skip to content

Instantly share code, notes, and snippets.

View shawnpyates's full-sized avatar

Shawn Yates shawnpyates

  • Vancouver, BC
View GitHub Profile

Keybase proof

I hereby claim:

  • I am shawnpyates on github.
  • I am shawnyates (https://keybase.io/shawnyates) on keybase.
  • I have a public key ASAnFEcHX-HUHeWGHC1mJf8JZIDJNQHQw3beSc0wTdpX5Qo

To claim this, I am signing this object:

import math
dollars = {'needed_for_pop': 2}
bottles = {'needed_for_pop': 2, 'extra_pops_yielded': 0, 'amount': 0}
caps = {'needed_for_pop': 4, 'extra_pops_yielded': 0, 'amount': 0}
total_pops_consumed = 0
pops_at_moment = 0
def get_total_pop_yield(dollars_spent):
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>