Skip to content

Instantly share code, notes, and snippets.

View PaulWJacob's full-sized avatar

PaulWJacob

  • Joined Sep 19, 2025
View GitHub Profile
{
"cells" : [ {
"metadata" : { },
"cell_type" : "markdown",
"source" : [ "# This is a sample Jupyter Notebook\n", "\n", "Below is an example of a code cell. \n", "Put your cursor into the cell and press Shift+Enter to execute it and select the next one, or click 'Run Cell' button.\n", "\n", "Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.\n", "\n", "To learn more about Jupyter Notebooks in PyCharm, see [help](https://www.jetbrains.com/help/pycharm/ipython-notebook-support.html).\n", "For an overview of PyCharm, go to Help -> Learn IDE features or refer to [our documentation](https://www.jetbrains.com/help/pycharm/getting-started.html)." ],
"id" : "8a77807f92f26ee"
}, {
"metadata" : { },
"cell_type" : "code",
"source" : [ "import random\n", "\n", "# Generate a random number between 1 and 100\n", "secret_number = random.randint(1, 100)\n", "\n", "# Ask the user to specify the number of attempts\n", "while True:\n", " tr
@PaulWJacob
PaulWJacob / notebook.ipynb
Created September 27, 2025 09:28
Demo Game Programme
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.