Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Hello World thread

Name: Anonymous 2012-05-31 19:43

Post your favorite Hello World implementation, or some wacky Hello World implementation of your own.

In Ruby:
helloWorldPrinter = Object.new
class << helloWorldPrinter
    def print
        Kernel.print "Hello World!\n"
    end
end
helloWorldPrinter.print

Name: Anonymous 2012-06-01 8:40


import string #import string
import sys #import sys
import random #import random

greeting = "Hello, world!"
count = 0

while count != len(greeting):
    char = random.choice(string.letters + ', !')
    if char == greeting[count]:
        sys.stdout.write(char)
        sys.stdout.flush()
        count = count + 1

print

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List