Month: February 2019

  • Nested Loops

    In an exercise I was working on, I wanted to raise a list of bases to a list of powers and return the result. I tried a complicated method with list comprehensions and regular for loops, but nested loops make this so much easier: exponents([2, 3, 4], [1, 2, 3]) returns:

  • Why?

    Why do you want to do this? This is a very important question to answer before looking at personal finance or anything else. Why do you want to manage money well? To make more money. “Meh”. That’s a result, not a purpose. That would never convince me to work through a hard night when I…

  • Automatically Snooze Incoming Mail in Gmail

    I get emails every day for a friend’s project that I want to respond to at least 12 hours after I get them, to see if the user has any questions. I was thinking it would be nice if there was a feature for this in Gmail. There isn’t in Gmail itself, but I figured…