+ 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
22 Answers
+ 24
A bit of dis and a bit of dat...
https://code.sololearn.com/cFmyLBC41lAq/?ref=app
+ 11
https://code.sololearn.com/cZQ4E7W8nLx2/?ref=app
simple code
+ 10
import __hello__
+ 10
https://code.sololearn.com/cD3f3wMCFwyD
Well... I think ... I hold all rules !
print help help help
+ 9
@Vengat. It violates rule 2, none the less, this is what I got on the net. https://code.sololearn.com/c9Swmjyc9e10/?ref=app
+ 8
Forgive me for breaking the second & third rules, but I strongly follow the first one โผ๏ธ๐คฃ
https://code.sololearn.com/cvNtjwkd4gg4/?ref=app
+ 7
import this :)
https://code.sololearn.com/cXy0aLz2WatH/?ref=app
+ 6
https://code.sololearn.com/WZajGCep4Vq0/?ref=app
Edit: The one who downvoted probably doesn't know the meme, no need to be serious.
+ 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*
+ 6
I have many of them but i like this one โ
https://code.sololearn.com/c2DJ4LgKrA1O/?ref=app
+ 6
https://code.sololearn.com/cra7xFi6xRjZ/?ref=app
try mine :)
+ 6
This is quite interesting. Check the ceaser cipher at the bottom.
https://code.sololearn.com/cv7lU7RlUNpo/?ref=app
+ 6
https://sololearn.com/compiler-playground/c91I1Px4tHOo/?ref=app
+ 5
It was good
+ 4
@David you know you get a special laughter from Ostfriesland?
+ 3
@karuntos here is my answer..
with your own weapon!
https://code.sololearn.com/cviINDr3e473/?ref=app
+ 3
https://sololearn.com/compiler-playground/W3yqIGx4PPZl/?ref=app