Hey Turtiez,
Two posts in a row, I must be lonely over here
Aaanyway, did I ever mention I ‘do’ Python? The programming language, that is. I also ‘do’ PHP and Javascript and HTML, but I like Python best. It’s because of the simplicity… But, for the non-programmer Turtles’ sake, I won’t go deeper into that, other time maybe
So, I was a bit bored and looked through my “old” scripts (around June 2008) and found some funny calc. I edited it a bit and it ended up just as sucky as it started. Then I set it on continuously multiplying 2*2, and then that times 2 and so on. It went on through 2 tot the 4000th, but then it used 50% of my CPU power and about 60% of my RAM memory (1024 MB). I quit it.
Then it came to me there should be some function to do x to the n-th. And there, obviously, or I wouldn’t be writing this post, was! (x**n) So, I wrote three lines of code and it was epic.
Program you later See you later,
TotempaaltJ
PS: Specially for this post, I added the category programming!