We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7a9d4 commit 4fb05b2Copy full SHA for 4fb05b2
27-speedboat.py
@@ -46,4 +46,6 @@ def extract_solution(data):
46
url = "http://www.pythonchallenge.com/pc/hex/speedboat.html"
47
pil_pixels, wand_pixels = get_pixel_values(url)
48
data = filter_different_pixels(pil_pixels, wand_pixels)
49
-print("url : {}\nuser: {}\npass: {}".format(*extract_solution(data)))
+new_path, *credentials = extract_solution(data)
50
+new_url = f"{url.rsplit('/', 1)[0]}/{new_path}"
51
+print("url : {}\nuser: {}\npass: {}".format(new_url, *credentials))
0 commit comments