![]() |
Happy New Year in Python and other languages
I saw Vadim Antonov's "Happy New Year in 4 languages" program
(http://www.gnu.org/fun/jokes/happy-new-year.cfbC.html) and thought I'd write a similar program using Python. Here it is: #include <stdio.h> #define fi int main(void){printf("Happy New Year!\n");return(0);} #/* This code has the same effect in Python, C, C++, and bash. # Written by Rob Hughes <rhughes@fastmail.fm>, December 2003. true=False if true : then echo -e +"\bHappy New Year!" else : print "Happy New Year!"; fi=0 #*/ fi |
| All times are GMT. The time now is 12:47 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.