7
$\begingroup$

My teacher set me some homework:

enter image description here

What is the answer to my homework?


You will also need a copy of my homework to help you.

You don't need the image to solve the puzzle, that is just a preview.

Hint:

The question is from my computer science teacher, who has been experimenting with some strange programming languages...

After solving

I couldn't write the text out on SE because it doesn't allow tabs.

$\endgroup$
11
  • $\begingroup$ Is this legitimately your homework? $\endgroup$ Commented Jan 27, 2017 at 18:14
  • 2
    $\begingroup$ @BeastlyGerbil no $\endgroup$
    – Melkor
    Commented Jan 27, 2017 at 18:16
  • 1
    $\begingroup$ Good. Just had to ask. And if it was, then I would definitely be wondering what sort of school you go to :P $\endgroup$ Commented Jan 27, 2017 at 18:19
  • 2
    $\begingroup$ @Melkor Why an image? could you write it out instead? $\endgroup$
    – dcfyj
    Commented Jan 27, 2017 at 18:31
  • 2
    $\begingroup$ @Will: These are not all spaces; they are spaces and tabs. $\endgroup$
    – M Oehm
    Commented Jan 27, 2017 at 19:53

1 Answer 1

7
$\begingroup$

Solution 1:

As M Oehm said, if you convert the spaces after the lines to 0 and the tabs as 1, you get:

0001101001
0000100000
111100
00110011
100000
1110011
1100011
1101000
1101111
1101111
1101100
Converting this to ASCII, you get the message <3 school.

Solution 2:

If you run this in the esoteric programming language Whitespace, you get the message i <3 school. Try it online!

$\endgroup$
1
  • $\begingroup$ Well done to @Oliver and @M Oehm! $\endgroup$
    – Melkor
    Commented Jan 27, 2017 at 20:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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