SOCKS OF JUSTIFICATION: THE ALGORITHM OF SHAME
This page is brought to you by the Socks of Justification, a highly complex algorithm designed to justify any and all of your socks.
Here's how it works:
def socks_of_justification(sock_count):
if sock_count > 5:
return "You have too many socks, you hoarder!"
elif sock_count < 2:
return "You have too few socks, you scrooge!"
elif sock_count == 3:
return "Perfect number of socks, you're a balanced individual."
else:
return "I'm not sure what to tell you, but it's probably still okay, right?"
Input your sock count to see your Socks of Justification result: