Annika Noren

A short tutorial on things I learned last week

Photo by Karim MANJRA on Unsplash

In Python, the modulo operator (signified as %) is one of seven arithmetic operators along with multiplication, division, addition, subtraction, exponentiation, and floor division. …

Refactoring my function down from 9 lines to 1 line

Woman jumping for joy
Photo by Konstantin Planinski on Unsplash

Several months ago I wrote about my adventure of coding the Fibonacci number. I love the Fibonacci number — any number puzzle actually — so it was with great joy when I came across the Disarmium number. A number is…