Okay, so today I messed around with something totally random – “fo fo fo fo fo”. Sounds weird, right? It started with me just goofing off, typing random stuff into my keyboard. I was bored, okay?
First, I just typed “fo” into a text editor. Nothing fancy, just Notepad. Then I thought, “What if I copy and paste this a bunch of times?” So I did. “fo fo fo fo fo” appeared. I felt… nothing. It didn’t really do anything.
Next, I tried putting it into a search engine. You know, just to see if anything came up. I mean, probably not, but you never know! The results were, predictably, a mess. Just random websites with the letters “f” and “o” somewhere in the text. A complete waste of time, really.
Then I got a slightly less dumb idea. I thought, maybe I can make this into a repeating pattern in, like, a programming thing. I’m no coder, but I’ve messed around with Python a tiny bit. So I opened up the IDLE thingy.
I typed something like:
for i in range(5):
print("fo ")
And, well, it printed “fo ” five times. Big surprise. Still pretty useless, but at least it was something I made the computer do.
The “Masterpiece”
I spent a few more minutes playing around. Changed the number of repetitions, added some extra spaces, tried printing it vertically instead of horizontally… you know, the important stuff.
The “pinnacle” of my efforts looked like this:
for i in range(10):
if (i % 2) ==0:
print("fo")
else:
print(" fo")
The for i in range(10):means do the follow things 10 times.
The if (i % 2) ==0: means to determine the parity of the number.
then print ‘fo’ for odd and even times.
It just prints “fo”, then ” fo” on the next line, and keeps alternating. Groundbreaking, I know.
So, yeah, that was my “fo fo fo fo fo” adventure. Completely pointless, but it killed some time. Maybe I’ll try “bar bar bar bar bar” tomorrow. Who knows what wonders that will unlock?