Hello, world

From Syntax

Jump to: navigation, search

Hello, world refers to any program that prints the string "Hello, world", or similar, to standard output. The string may or may not include a new line.

Contents

[edit] Haskell

putStr "Hello, world"

[edit] Perl

Perl code
print "Hello, world";

[edit] Python

print "Hello world!"

[edit] Ruby

puts 'Hello World!'
Personal tools