### Thread: Doing 1 +1 in the most incomprehensible way.(forum game)

1. No Profile Picture
Contributing User
Devshed Newbie (0 - 499 posts)

Join Date
Jan 2013
Posts
81
Rep Power
6

#### Doing 1 +1 in the most incomprehensible way.(forum game)

Bring out your most incomprehensible one-liner you can find for adding one and one together and printing it

RULE 1: has to be a one-liner
RULE 2: no semicolons allowed
RULE 3: you can't use the same function twice

Example:
Code:
`print(eval("+".join([str(xrange(1,2)[0]), chr(ord("1"))])))`
2. No Profile Picture
Contributing User
Devshed Newbie (0 - 499 posts)

Join Date
May 2013
Location
/dev/null
Posts
170
Rep Power
23
He he.. though not incomprehensible to an experienced eye, here's one:

Code:
`print(int(len(str('x'.replace('x','x'))))+[0,ord('\x01')][hex(0).isalnum()])`
3. Simple stuff ...
Code:
`print(True + True)`
or
Code:
`print(('a'=='a') + ('b'=='b'))`
or
Code:
`print((ord('vupo'[0]) - ord('vupo'[1])) + (ord('vupo'[2]) - ord('vupo'[3])))`

#### Comments on this post

• noobie1000 disagrees : The last one uses the ord function multiple times. Against the game rule :-D
Last edited by Dietrich; June 13th, 2013 at 04:38 PM.
4. No Profile Picture
Contributing User
Devshed Newbie (0 - 499 posts)

Join Date
Oct 2012
Posts
194
Rep Power
6
My asinine attempt:
python Code:
```print((int(sum((-1)**(n+1)/pow(2.0,n) for n in range(1,1000))*float(24))>>3)
+ bool(ord(str(any((dict(what=list([all(zip(map(bin,set(((5),))),{1}))])),))<<100)[0])))```

Put on two lines for... ahem... readability .
-Mek

#### Comments on this post

• noobie1000 agrees : Ha ha ha! Good one mate! :-D
Last edited by Mekire; June 13th, 2013 at 10:23 PM.