+ 19

Challenge: Create something unexpected

Create a code that generates an output that is unexpected. There are 3 rules 1.) When looking at the code it must not be obvious what it does. 2.) The output must be semi useful, not just "Hello World" or your name. 3.) The code must have less lines than the output. Don't just obfuscate by adding lines

12th Oct 2017, 6:57 AM
Louis
Louis - avatar
22 Answers
+ 24
A bit of dis and a bit of dat... https://code.sololearn.com/cFmyLBC41lAq/?ref=app
12th Oct 2017, 11:40 AM
David Ashton
David Ashton - avatar
+ 11
https://code.sololearn.com/cZQ4E7W8nLx2/?ref=app simple code
13th Oct 2017, 2:18 AM
Mayank Sakhare
Mayank Sakhare - avatar
+ 10
import __hello__
12th Oct 2017, 7:00 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 10
https://code.sololearn.com/cD3f3wMCFwyD Well... I think ... I hold all rules ! print help help help
12th Oct 2017, 10:34 AM
Oma Falk
Oma Falk - avatar
+ 9
@Vengat. It violates rule 2, none the less, this is what I got on the net. https://code.sololearn.com/c9Swmjyc9e10/?ref=app
12th Oct 2017, 8:31 AM
Louis
Louis - avatar
+ 8
Forgive me for breaking the second & third rules, but I strongly follow the first one ‼️🤣 https://code.sololearn.com/cvNtjwkd4gg4/?ref=app
2nd Nov 2019, 10:32 PM
Janusz Bujak 🇵🇱
Janusz Bujak 🇵🇱 - avatar
12th Oct 2017, 8:41 AM
Pavle Mutic
Pavle Mutic - avatar
+ 6
https://code.sololearn.com/WZajGCep4Vq0/?ref=app Edit: The one who downvoted probably doesn't know the meme, no need to be serious.
12th Oct 2017, 3:51 PM
Dennis
Dennis - avatar
+ 6
https://code.sololearn.com/WvBVx2Z3Or4y/#js Before anyone says I'm breaking the rules, I'm actually taking advantage of a technicality. The rules say I can't add extra lines, but the JS code is actually all on one line. *trollface*
12th Oct 2017, 4:05 PM
DaemonThread
DaemonThread - avatar
+ 6
I have many of them but i like this one ↓ https://code.sololearn.com/c2DJ4LgKrA1O/?ref=app
12th Oct 2017, 4:16 PM
Ekansh
+ 6
https://code.sololearn.com/cra7xFi6xRjZ/?ref=app try mine :)
15th Oct 2017, 7:09 AM
Karuntos
Karuntos - avatar
+ 6
This is quite interesting. Check the ceaser cipher at the bottom. https://code.sololearn.com/cv7lU7RlUNpo/?ref=app
15th Oct 2017, 2:35 PM
Louis
Louis - avatar
+ 6
https://sololearn.com/compiler-playground/c91I1Px4tHOo/?ref=app
8th Mar 2024, 7:54 AM
Oma Falk
Oma Falk - avatar
+ 5
It was good
12th Oct 2017, 4:24 PM
Javad Moghimi
12th Oct 2017, 6:33 PM
Maneesh Kumar Singh
Maneesh Kumar Singh - avatar
+ 4
@David you know you get a special laughter from Ostfriesland?
12th Oct 2017, 1:00 PM
Oma Falk
Oma Falk - avatar
+ 3
@karuntos here is my answer.. with your own weapon! https://code.sololearn.com/cviINDr3e473/?ref=app
15th Oct 2017, 7:33 AM
Oma Falk
Oma Falk - avatar
+ 3
https://sololearn.com/compiler-playground/W3yqIGx4PPZl/?ref=app
7th Mar 2024, 10:10 PM
JaScript
JaScript - avatar
12th Oct 2017, 8:59 PM
ysraelcon
ysraelcon - avatar