This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.