Follow

I just learn that in Python (and probably maths and whatever), '-1 % n' always equals 'n - 1'.. This makes so many things easier!

Apart from when n is negative, but w/e

Sign in to participate in the conversation
mastodon.cloud

Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.