Texte consigne

ServeurDeTest
Pierre BALLANDRAS 3 years ago
parent eecee0c31a
commit 62c8541124

@ -45,7 +45,7 @@
/* Main CSS */ /* Main CSS */
html{ html{
scroll-behavior: smooth; scroll-behavior: smooth;
background-image: url(../../assets/img/Background4.png); background-color: black;
height: 100vh; height: 100vh;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -70,8 +70,11 @@ body{
height: 100%; height: 100%;
margin: 0; margin: 0;
padding: 0; padding: 0;
margin-left: 20px;
color: aliceblue;
} }
.editor_class{ .editor_class{
width: 45%; width: 45%;
min-height: 100%; min-height: 100%;

@ -12,9 +12,19 @@
</div> </div>
<div class="enigme"> <div class="enigme">
<p> <h1>PALINDROME</h1><br>
<h2>Consigne</h2><br>
<p class="enonce">
Écrire une fonction estPalindrome qui prend en argument un entier et qui renvoie True si cest un palindrome et False sinon. Écrire une fonction estPalindrome qui prend en argument un entier et qui renvoie True si cest un palindrome et False sinon.
</p> </p><br><br>
<h2>Rappel</h2><br>
<p class="rappel">Un palindrome est un nombre qui peut se lire dans les deux sens. Par exemple 111.</p><br><br>
<h2>Exemple</h2><br>
<p>Entrée :&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;Sortie :</p>
<p>[1,0,1]&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ensp;True</p>
<p>[1,1,9,1]&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;False</p><br><br>
<h2>Aide</h2><br>
<p>En python linstruction [::-1] permet dinverse une chaine de caractère. Par exemple print(\"ae\"[::-1]) affiche : ea.</p>
</div> </div>
<h1 id="result" class="hidden"></h1> <h1 id="result" class="hidden"></h1>

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Brython</title> <title>Brython</title>
<link rel="stylesheet"href="../css/test.scss" /> <link rel="stylesheet"href="../css/test.css" />
</head> </head>
<body> <body>
<div class="container"> <div class="container">

Loading…
Cancel
Save