Python Challenge solutions
Reading time: less than 1 minute The Python Challenge is an old internet puzzle that is intended to be
solved with Python programming.
It can be found at www.pythonchallenge.com.
# Problem 0
URL: http://www.pythonchallenge.com/pc/def/0.html
The clue we get is an image of a computer monitor with a post-it stuck on it.
The post it displays the number 2^38. We can quickly calculate the answer using
the Python REPL.
>>> 2 ** 38
274877906944
The hint mentions changing the URL, so we change the 0 to 274877906944 and it
redirects us to the next puzzle.
# Problem 1
URL: http://www.pythonchallenge.com/pc/def/map.html
Citation
If you find this work useful, please cite it as:
@article{yaltirakliwikipythonchallengesolutions,
title = "Python Challenge solutions",
author = "Yaltirakli, Gokberk",
journal = "gkbrk.com",
year = "2023",
url = "https://www.gkbrk.com/wiki/python-challenge-solutions/"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation Gokberk Yaltirakli, "Python Challenge solutions", September, 2023. [Online]. Available: https://www.gkbrk.com/wiki/python-challenge-solutions/. [Accessed Sep. 22, 2023].
APA Style Yaltirakli, G. (2023, September 22). Python Challenge solutions. https://www.gkbrk.com/wiki/python-challenge-solutions/
Bluebook Style Gokberk Yaltirakli, Python Challenge solutions, GKBRK.COM (Sep. 22, 2023), https://www.gkbrk.com/wiki/python-challenge-solutions/