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
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
The hint mentions changing the URL, so we change the 0 to 274877906944 and it
redirects us to the next puzzle.
# Problem 1
If you find this work useful, please cite it as:
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.
Gokberk Yaltirakli, "Python Challenge solutions", March, 2023. [Online]. Available: https://www.gkbrk.com/wiki/python-challenge-solutions/. [Accessed Mar. 27, 2023].
Yaltirakli, G. (2023, March 27). Python Challenge solutions. https://www.gkbrk.com/wiki/python-challenge-solutions/
Gokberk Yaltirakli, Python Challenge solutions, GKBRK.COM (Mar. 27, 2023), https://www.gkbrk.com/wiki/python-challenge-solutions/