To run this code, you must first have Python installed on your computer. You can then either download the code or copy and paste it into a new .py file. However, before running the code, you must ensure that the wikipedia-api module is installed on your system. You can install this module by using the pip install command in your terminal or command prompt.
To exit the program give "/exit" command while query input is asked