---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
/home/dreamerblock/L/_notebooks/Drunk_Man.ipynb Cell 1 in <cell line: 8>()
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/dreamerblock/L/_notebooks/Drunk_Man.ipynb#W0sdnNjb2RlLXJlbW90ZQ%3D%3D?line=5'>6</a> turns = []
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/dreamerblock/L/_notebooks/Drunk_Man.ipynb#W0sdnNjb2RlLXJlbW90ZQ%3D%3D?line=7'>8</a> while (nights < 10):
----> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/dreamerblock/L/_notebooks/Drunk_Man.ipynb#W0sdnNjb2RlLXJlbW90ZQ%3D%3D?line=8'>9</a> step = random.randrange(4)
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/dreamerblock/L/_notebooks/Drunk_Man.ipynb#W0sdnNjb2RlLXJlbW90ZQ%3D%3D?line=9'>10</a> if step == 0:
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/dreamerblock/L/_notebooks/Drunk_Man.ipynb#W0sdnNjb2RlLXJlbW90ZQ%3D%3D?line=10'>11</a> x = x+1
File ~/anaconda3/lib/python3.9/random.py:305, in Random.randrange(self, start, stop, step)
303 if stop is None:
304 if istart > 0:
--> 305 return self._randbelow(istart)
306 raise ValueError("empty range for randrange()")
308 # stop argument supplied.
KeyboardInterrupt: