Hello World!

Hello World!

If you have learned a programming language before, there is a high probability that the first function call you learned was to print out the string “Hello World!”.  The Term is so popular, it has it’s own Wikipedia article! I can tell you I’ve personally done it across several languages.  In honor of the famous term, I’ve highlighted a few ways of saying Hello to your compiler.

 

C

printf ("Hello World!")

PHP

<?php echo "Hello World!" ?>

Python 2.7 & Perl

	print 'Hello World!'

Python 3

print('Hello World!')

Python (I added an Input for good measure)

write-host 'Hello World!'

Leave a Reply

Your email address will not be published. Required fields are marked *