---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
/vscode/ahadsblog/_notebooks/2023-03-30-HashMap Hacks.ipynb Cell 9 in <cell line: 44>()
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=40'>41</a> # Repeat the menu
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=41'>42</a> menu()
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=43'>44</a> menu()
/vscode/ahadsblog/_notebooks/2023-03-30-HashMap Hacks.ipynb Cell 9 in menu()
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=38'>39</a> print("\n Please try again. \n")
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=40'>41</a> # Repeat the menu
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=41'>42</a> menu()
/vscode/ahadsblog/_notebooks/2023-03-30-HashMap Hacks.ipynb Cell 9 in menu()
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=38'>39</a> print("\n Please try again. \n")
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=40'>41</a> # Repeat the menu
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=41'>42</a> menu()
[... skipping similar frames: menu at line 42 (15 times)]
/vscode/ahadsblog/_notebooks/2023-03-30-HashMap Hacks.ipynb Cell 9 in menu()
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=38'>39</a> print("\n Please try again. \n")
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=40'>41</a> # Repeat the menu
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=41'>42</a> menu()
/vscode/ahadsblog/_notebooks/2023-03-30-HashMap Hacks.ipynb Cell 9 in menu()
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=14'>15</a> print(option)
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=16'>17</a> # user input
---> <a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=17'>18</a> search = input("What would you like to know about ...").lower()
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=19'>20</a> # Find the selected option in the options list
<a href='vscode-notebook-cell://wsl%2Bubuntu/vscode/ahadsblog/_notebooks/2023-03-30-HashMap%20Hacks.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=20'>21</a> selected_option = None
File ~/anaconda3/lib/python3.9/site-packages/ipykernel/kernelbase.py:1075, in Kernel.raw_input(self, prompt)
1071 if not self._allow_stdin:
1072 raise StdinNotImplementedError(
1073 "raw_input was called, but this frontend does not support input requests."
1074 )
-> 1075 return self._input_request(
1076 str(prompt),
1077 self._parent_ident["shell"],
1078 self.get_parent("shell"),
1079 password=False,
1080 )
File ~/anaconda3/lib/python3.9/site-packages/ipykernel/kernelbase.py:1120, in Kernel._input_request(self, prompt, ident, parent, password)
1117 break
1118 except KeyboardInterrupt:
1119 # re-raise KeyboardInterrupt, to truncate traceback
-> 1120 raise KeyboardInterrupt("Interrupted by user") from None
1121 except Exception:
1122 self.log.warning("Invalid Message:", exc_info=True)
KeyboardInterrupt: Interrupted by user