From 62c8541124d0a07d39b1b88a6a83ace257cace4d Mon Sep 17 00:00:00 2001 From: Pierre BALLANDRAS Date: Mon, 17 Oct 2022 11:34:38 +0200 Subject: [PATCH] Texte consigne --- WEB/src/CSS/enigme.css | 5 ++++- WEB/src/pages/Enigme/palindrome.html | 14 ++++++++++++-- brythonRunner/page/test.html | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/WEB/src/CSS/enigme.css b/WEB/src/CSS/enigme.css index 5e23618d..b4a58cd7 100644 --- a/WEB/src/CSS/enigme.css +++ b/WEB/src/CSS/enigme.css @@ -45,7 +45,7 @@ /* Main CSS */ html{ scroll-behavior: smooth; - background-image: url(../../assets/img/Background4.png); + background-color: black; height: 100vh; background-position: center; background-repeat: no-repeat; @@ -70,8 +70,11 @@ body{ height: 100%; margin: 0; padding: 0; + margin-left: 20px; + color: aliceblue; } + .editor_class{ width: 45%; min-height: 100%; diff --git a/WEB/src/pages/Enigme/palindrome.html b/WEB/src/pages/Enigme/palindrome.html index eba2a544..b3a1f436 100644 --- a/WEB/src/pages/Enigme/palindrome.html +++ b/WEB/src/pages/Enigme/palindrome.html @@ -12,9 +12,19 @@
-

+

PALINDROME


+

Consigne


+

Écrire une fonction estPalindrome qui prend en argument un entier et qui renvoie True si c’est un palindrome et False sinon. -

+



+

Rappel


+

Un palindrome est un nombre qui peut se lire dans les deux sens. Par exemple 111.



+

Exemple


+

Entrée :      Sortie :

+

[1,0,1]        True

+

[1,1,9,1]       False



+

Aide


+

En python l’instruction [::-1] permet d’inverse une chaine de caractère. Par exemple print(\"ae\"[::-1]) affiche : ea.

diff --git a/brythonRunner/page/test.html b/brythonRunner/page/test.html index c32ec739..9de2e8dd 100644 --- a/brythonRunner/page/test.html +++ b/brythonRunner/page/test.html @@ -5,7 +5,7 @@ Brython - +