lolpython

I FUTURE CAT WITH print_function
SO IM LIKE main OK?
    VISIBLE LOL Hello world /LOL
IZ __name__ KINDA LIKE "__main__"?
    main THINGZ

Recommended Answers

All 14 Replies

I don't get what this is.. but...
PHP:

<?
echo 'Hello, world!';
?>

C:

#include <stdio.h>

int main() {
    printf("Hello, World!");
    return 0;
}

C++:

#include <iostream>

int main() {
    cout << "Hello, world!" << "\n";
    return 0;
}

Java:

class HelloWorld {
    public static void main(String[] args){
        System.out.println("Hello, world!");
    }
}

C#:

public class HelloWorld {
   public static void Main() {
      System.Console.WriteLine("Hello World!");
   }
}

Not programming languages, but thought I might contribute.

JavaScript:

alert("Hello, World!");

Bash

echo "Hello, World!"

Matlab / Octave:

disp('Hello World!');

Pascal / Free-Pascal / Object-Pascal (Delphi):

program HelloWorld;

begin
  writeln('Hello World');
end.

Fortran:

program hello
   print *, "Hello World!"
end program hello

Also, see this wiki listing.

More,
Perl:

#!/usr/bin/perl

print "Hello, World!\n";

Python:

#!/usr/bin/python
print "Hello, World!\n"

SQL:

CREATE TABLE hello(
    s CHAR(10)
INSERT INTO hello ("Hello world")
SELECT *
    FROM hello

Html:

<html>
<head>
</head>
<body>
<p>
Hello,world
</p>
</body>
</html>

QBASIC

CLS
PRINT "HELLO WORLD"

GO:

package main
func main() {
    print("hello world")
}

Do you use GO at all? It looks interesting but I'm not really sure what it's for.
Ruby:

puts "Hello, world!"
commented: At the moment I'm just studing it, I'm considering GO for some backend jobs in web applications... +0

DOS

echo hello world

VB6

Print "Hello World"

VB.Net

Console.WriteLine("Hello World")

D programming language (Recently became interested in and loving it)

import std.stdio;

void main()
{
    writeln("Hello, world!");
}

how about you guys just type Hello and see what errors you get :)

or do this

//hello

If every one use one platform then it will be much easier for all to guess and manipulate but too much programs confuse even the tough and experts also.

coding is nicely done. bravo

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.