programming question, feel free to answer or ignore but I'ma sleep on it,
Gah. I don't understand this python question, but that's because I don't know what they mean with the equation in it. Something something recursion but I don't know.
A number, a, is a power of b if it is divisible by b and a/b is a power of b.
Like, I don't understand. It would always return false, because you've asked me to recur infinitely downwards until I hit something that isn't a power of b??
4 is a power of 2 because 4 is divisble by 2 but (4/2)/2 isn't because 1 is not a power of 2?
9 is a power of 3 because 9 is divisible by 3 but then (9/3)/3 isn't because 1 is not a power of 3?
bleh. Gonna sleep on this and see if it makes sense in the morning.
A general fediverse instance for people who generally like pokemon at least a little bit. Newly registered users must be manually approved due to an increasing number of spam bots; if you look like a person, your account will be approved as soon as possible.