Skip to content

Instantly share code, notes, and snippets.

@deenski
Created May 9, 2018 16:55
Show Gist options
  • Select an option

  • Save deenski/8e9dbb652bd421508041638d13c8bc9e to your computer and use it in GitHub Desktop.

Select an option

Save deenski/8e9dbb652bd421508041638d13c8bc9e to your computer and use it in GitHub Desktop.
Demo of some code skills for Healthaware
bluepens = 20+5
redpens = 15+10
total = 213.75 + 105
costperpen = total / (bluepens + redpens)
print(costperpen)
# costperpen = 6.375
# only works because there are 25 of each pen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment