= Solutions to the [http://www.pythonchallenge.com/ Python Challenge] riddles. = == Warning: Spoilers are included. Do not read on if you plan to do the challenges. == All solutions are written in D and use Tango. All levels use [http://tango.dsource.org/docs/current/tango.io.Stdout.html tango.io.Stdout] for output. === Level 0 === [wiki:PythonChallenge0 Solution] * [http://tango.dsource.org/docs/current/tango.math.Core.html tango.math.Core] * pow [wiki:PythonChallenge0Alt Alternate Solution] * [http://tango.dsource.org/docs/current/tango.math.Core.html tango.math.Core] * exp2 [wiki:PythonChallenge0Native Native Solution] === Level 1 === [wiki:PythonChallenge1Native Native Solution] === Level 2 === [wiki:PythonChallenge2Native Native Solution] === Level 3 === [wiki:PythonChallenge3 Solution] * [http://tango.dsource.org/docs/current/tango.text.Regex.html tango.text.Regex] * match * search [wiki:PythonChallenge3Native Native Solution] Solution by using kind of [wiki:PythonChallenge3da Deterministic Automaton] === Level 4 === [wiki:PythonChallenge4 Solution] * [http://tango.dsource.org/docs/current/tango.net.Uri.html tango.net.Uri] * Uri * setQuery * [http://tango.dsource.org/docs/current/tango.net.http.HttpClient.html tango.net.http.HttpClient] * !HttpClient * close * isResponseOK * open * read * reset * [http://tango.dsource.org/docs/current/tango.stc.stdlib.html tango.stdc.stdlib] * exit * [http://tango.dsource.org/docs/current/tango.text.Regex.html tango.text.Regex] * find * match * rfind * sub