Editorial for Andyman's Golf Course - Hole 6 - The Final Hole
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
14 bytes
Simply printing out a single character string multiplied by would pass.
print('a'*100)
13 bytes
Instead of printing a string, printing a really big number with at least digits would pass.
print(99**99)
12 bytes
Using the special builtin function dir()
, which returns a list of attributes was (and likely is the only) byte solution that exists. This solution was shown to by a few participants of the golf contest, which he found quite genius, but unfortunately is
byte off from earning full marks.
print(dir())
11 bytes
It should be noticed that print()
takes up at least of the
characters available for full marks, and so somehow
characters should cause something with at least
characters to be printed. This would require some very dark voodoo Python magic to make work.
Now
isn't just going to give away the solution to this final hole, but will give you a hint that will (hopefully) guide you to the full solution.After reading the intended solution, one might think to themselves...
...how does this even work?
...this is such a strange solution... what is this?
Comments