You are to write a program that does one of the following.
- Only displays "Hello World" does nothing else
- Quits and nothing else (no output, no errors.)
- Takes one line of input, parses it as an integer, displays the first that many primes (or gives a nice error if it is given input that can't be parsed as an integer, or is less than 0.)
- Given one line of input, it parses it has a stock symbol, and checks online for the current stock value and its change.
The catch, it should not be apparent which function it performs. Namely, for someone looking at your code, it should not be apparent which function it will do. Also, it may only perform and be able to perform one function (it can not pick and choose.) How good a program is is determined by how uncertain someone is that looks at it as to what its function is, and also how familiar that person is with that language.
BONUS: If you in a clever way make it so although for any one compiler/intrpreter and platform, the program will also perform the same function, different compilers/interpreters or platforms, it will perform a different function. This bonus may only be collected if done cleverly.
BONUS: If your program only contains code that is capable of one function (save nothing, as empty code is capable of that), and it is not possible to make a simple modification unrelated to the function to allow it to perform a different function. For example: if you did
obfuscatedBool = 1g8uhad'l8fygrcetdu8y4fd/,.oe87fy4d --Magic if obfuscatedBool: print "Hello World"
Would not count as obfuscatedBool could be made True or False to make it print "Hello World" or do nothing respectively.
INFINITY BONUS: If you realize both bonuses simultaneously, you are magic.
NEGATIVE BONUS: Using libraries with specific abilities to do the functions.
Voters, take the bonuses in to consideration, because the program with the most votes wins!
Note: If you say what your program does, make sure to use spoiler syntax!