Trovato qui

http://www.guild.net/~schwern/papers/Why_I_Am_Not_A_Java_Programmer/why.html

"""

Here's ``Hello World'' in Perl.

    print "Hello, world\n";

One line, one function, one string. What does it do? It prints ``Hello,
World''. Explaining it is almost as simple as writing it. The trickiest
part is possibly the newline.

And here in Java.

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

"""

pero' mi viene da dire che in Python lo "\n" finale me lo risparmio ;)

Carlos
-- 
EZLN ... Para Todos Todo ...
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a