Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
ajoute quelques précisions à un notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Nov 15, 2014
1 parent 7eb4193 commit df80c28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions _doc/notebooks/premierspas/pp_exo_deviner_un_nombre.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:82cbce9ecbed3a40913ffc35a67d8bf17ff49cbbde51d3bb3878fd40bae43a79"
"signature": "sha256:fab32d80250c080e8b1f45ebc3289cb080c17080b9103e763117ea511b0cdc4f"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand All @@ -20,7 +20,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**Q1 :** Ecrire une jeu dans lequel python choisi al\u00e9atoirement un nombre entre 0 et 100, et essayer de trouver ce nombre en 10 \u00e9tapes (avec la fonction [open_window_params](http://www.xavierdupre.fr/app/pyquickhelper/helpsphinx/pyquickhelper/funcwin/frame_params.html?highlight=open#pyquickhelper.funcwin.frame_params.open_window_params))."
"**Q1 :** Ecrire une jeu dans lequel python choisi al\u00e9atoirement un nombre entre 0 et 100, et essayer de trouver ce nombre en 10 \u00e9tapes (avec la fonction [open_window_params](http://www.xavierdupre.fr/app/pyquickhelper/helpsphinx/pyquickhelper/funcwin/frame_params.html?highlight=open#pyquickhelper.funcwin.frame_params.open_window_params)). \n",
"\n",
"**Remarque :** Ce programme ne fonctionne que sur si le serveur IPython est ex\u00e9cut\u00e9 localement."
]
},
{
Expand Down
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:71040b23fbbf7d450631a1bb1fb13ac3a488803460c68c413387edae460fbda5"
"signature": "sha256:655474ecdf51a674649c774f2311f74cde84d6cb9118b8d8aae7b727a5082d40"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -29,6 +29,7 @@
"input": [
"from pyquickhelper import open_window_params\n",
"def demande_nombre(appreciation):\n",
" # Ce programme ne fonctionne que sur si le serveur IPython est ex\u00e9cut\u00e9 localement.\n",
" params = { \"nombre\":\"\" }\n",
" ans = open_window_params (params, title=\"Entrez un nombre\", \n",
" help_string = appreciation, \n",
Expand Down

0 comments on commit df80c28

Please sign in to comment.