My Blog

My WordPress Blog

Tag: daily programmer


  • Daily Programmer 239 Easy – Game of Threes

    So, the latest Daily Programmer project I’m working on(I’ll get to finishing the last one, eventually) is this weeks Easy level project, Game of Threes. This one wasn’t complicated, here’s the code. [code language=”python”] def get_diff_from_multiple(n): """ Returns -1, 0, or 1, whichever will add to n to make the sum divisible by 3 """…