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 @@
+
Écrire une fonction estPalindrome qui prend en argument un entier et qui renvoie True si c’est un palindrome et False sinon. -
+Un palindrome est un nombre qui peut se lire dans les deux sens. Par exemple 111.
Entrée : Sortie :
+[1,0,1] True
+[1,1,9,1] False
En python l’instruction [::-1] permet d’inverse une chaine de caractère. Par exemple print(\"ae\"[::-1]) affiche : ea.