8
$\begingroup$

Find the enter image description here

def That(n):
    def Question(n): return n+1|-n-2
    a = Question(n)
    return a

>>> That(42)
-1

Clarifications

  1. Three hints would be provided every 6 hours unless this puzzle gets solved before the next scheduled hint.
  2. I may not respond to all the comments. The Rebus is quite easy and any hint would make this puzzle vulnerable.
  3. There will be one and only one answer.
  4. The first Rebus would be solved in a day.

Hints

Hint1:

The first hint has been provided. Can you find any difference in the current rebus with the previous?

Hint2:

The second hint has been provided. Can you identify each of the elements in the first rebus?

Hint3:

Simple is better than complex. Special cases aren't special enough to break the rules.

$\endgroup$
  • $\begingroup$ So, we have to solve 2 rebus, combine them and solve a third rebus? $\endgroup$ – leoll2 Apr 4 '15 at 10:08
  • $\begingroup$ @leoll2. Actually you have to solve two rebus but eventually you give get one and only one answer. $\endgroup$ – Abhijit Apr 4 '15 at 10:13
  • $\begingroup$ Well, I assume the language the code snippet is written in is Python... $\endgroup$ – Joe Z. Apr 4 '15 at 10:14
  • $\begingroup$ I assume you didn't do type checking on the function input so that it looked cleaner, right? Or is the fact that this function crashes with non-numeric input relevant? $\endgroup$ – Ian MacDonald Apr 4 '15 at 11:18
  • $\begingroup$ @IanMacDonald: Type checking for the input was neither relevant nor necessary. If done so, it would break the puzzle. $\endgroup$ – Abhijit Apr 4 '15 at 17:41
9
$\begingroup$

The answer is

"To be, or not to be, that is the question"

because

That(42) returns a Question whose value is 43|-44
which in hexadecimal is 0x2b | ~0x2b
(where '~' is bitwise NOT and '|' is bitwise OR).

$\endgroup$
  • $\begingroup$ Wonderful. I knew this was easy, but I would still wait to see if someone is able to solve the first Rebus. Off-course both of the Rebus are related in a way. $\endgroup$ – Abhijit Apr 5 '15 at 4:54
  • 1
    $\begingroup$ And unless this was evident, by using the parameter 42 I was trying to depict that the answer to life, the universe and everything is actually a question $\endgroup$ – Abhijit Apr 5 '15 at 5:36
2
$\begingroup$

1)

Slash's Snakepit

It was an American rock band. In the picture we see a slash inside a snake drawing a "pit" with its body. I think the quotation marks are just there so that people don't confuse the slash with a random line.

2)

That question got a negative answer

Assuming it's Python, you call the function That() using 42 as parameter. The result is -1, a negative number.

$\endgroup$
  • $\begingroup$ I fear its not right. Moreover there will only be one and only one answer. $\endgroup$ – Abhijit Apr 4 '15 at 10:31
  • $\begingroup$ Well, I just tried :) $\endgroup$ – leoll2 Apr 4 '15 at 10:35
  • $\begingroup$ Please don;t be dishertened. Trust me once this get answered you would surely say ohhh this was so obvious $\endgroup$ – Abhijit Apr 4 '15 at 10:36
1
$\begingroup$

The image rebus has three parts

  1. enter image description here - This refers to Code
  2. "" - That refers to quote
  3. The Python

Joining them in order: Find the quote in the Python Code

$\endgroup$
0
$\begingroup$

The image represents:

Shake the spear: Shakespeare.

I guess the answer is: https://youtu.be/xsXKT5RhJf8?t=38

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.