Différences entre les versions de « Utilisateur:Manonblanc »

De {}
Aller à la navigation Aller à la recherche
Ligne 1 : Ligne 1 :
 +
 +
== Exercice ==
 +
 
<syntaxhighlight lang="html5">
 
<syntaxhighlight lang="html5">
 
<!doctype html>
 
<!doctype html>

Version du 14 février 2022 à 10:25

Exercice

<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" href="untitled.css">
    </head>
    <body>

<img id="bara1" src="bara1.JPG" alt="bara1">
<img id="bara2" src="bara2.JPG" alt="bara2">
<img id="bara3" src="bara3.JPG" alt="bara3">
<img id="bara4" src="bara4.JPG" alt="bara4">
 <img id="barbe1" src="barbe1.JPG" alt="barbe1">
             <img id="barbe2" src="barbe2.JPG" alt="barbe2">
               <img id="barbe3" src="barbe3.JPG" alt="barbe3">
               <img id="derby1" src="derby1.JPG" alt="derby1">
<img id="derby2" src="derby2.JPG" alt="derby2">
<img id="derby3" src="derby3.JPG" alt="derby3"> 


        <section class="page first">
           
          

               <article> La myopie 
_________

Permettre un </article> voile flou sans <article> réticences, sans contraindre </article>  <article> ses yeux à y voir net. </artcile> Une vision <article> nuageuse omni-constante</article> , <article> pour une existence </article> moins consciente. Moins <article> consciente </article> des lieux, moins consciente des visages, moins consciente des f     </article>
                
        </section>
        <section class="page second">



<p> ormes, moins consciente des lignes, moins consciente des objets, moins consciente des matériaux. Un adoucissement des contours. Un paysage où les choses se fondent entre elles sans se toucher. Lieux se confondent et espaces semblent être une seule et même chose. Les regards des au </p>


        </section>
        <section class="page third">


<p> tres humain.e.s plus abstrait. Une chorégraphie des corps moins saccadée qui s’étale dans le temps sans discontinuer. La vue des choses est sans réponse claire. Les secrets sont gardés. Les corps rayonnants émanent plus fort jusqu’au.à.la myope. </p>
      
        </section>

        <section class="page fourth">


<artcle> mélancolique merveilleux pluie </artcle>  elle rêver de rocambolesque rêver raclette melodie pluie   une mais il il pluie   myrtille pluie <article> une seule plusieurs   ravioli </article> une seule pluie   je pluie  <article> super merveilleux mais myrtille pluie   ah bon pluie   </article> bleues la mais fenêtre tu fleurit   melodie merveilleux raclette plusieurs   je pluie   raclette pluie   myrtille pluie une seule vert   c est rêver fenêtre 
      
        </section>
      
    </body>
</html>

@font-face {
    font-family: cochin;
    src: url('cochin.ttc');
 
}
 
*{
    box-sizing:border-box;
}
 
html, body
{
   font-family:cochin; 
   font-size:13pt;
   color: red;
   background: hsl(240, 70%, 90%);
   display: inline;
}
 
section.page{
  width:15mm;
  height: 200mm;
  border:1px solid black;
  line-height: -600px;
  margin:10px;
  padding:5mm;
 
}
 
section.page.first
{

   background: hsla(0, 100%, 50%, 0.5);
   position: relative;
   top: -3000px;
   bottom: 10px;  
   left: 10px; 
   right: 10px ;
}

section.page.second
{

   background: hsla(100, 100%, 50%, 0.5);
    position: relative;
   top: -2300px;
   bottom: 50px;  
   left: 50px; 
   right: 50px ;
}

section.page.third
{

   background: hsla(300, 100%, 50%, 0.5);
    position: relative;
   top: -2300px;
   bottom: 100px;  
   left: 100px; 
   right: 100px ;
}

section.page.fourth
{

   background: hsla(340, 10%, 50%, 0.4);
    position: relative;
   top: -2300px;
   bottom: 100px;  
   left: 100px; 
   right: 100px ;
}

article{
    width:100%;
    display:flex;
 
}
div{
   width:50%;
   padding:3mm; 
}
p{
    margin:1rem 0 0 0;
    line-height:1rem;
    font-size:0.9rem;
 
}
p.highlight{
    font-size:1.9rem;
    line-height:2rem;
}
h2{
    font-weight:normal;
 
    margin:0 0 1rem 0;
    /*margin-bottom:2rem;*/
 
    line-height:2rem;
    font-size:1.8rem;
    text-align:center;
 
 
}
#bara1, #bara2,#bara3,#bara4
{
    max-width: 40%;
    max-height: 40%;
    margin-top: 3%;
    margin-right: 3%;
    margin-left: 3%;
}
#derby1, #derby2,#derby3
{
    max-width: 40%;
    max-height: 40%;
    margin-top: 3%;
    margin-right: 3%;
    margin-left: 3%;
}
#barbe1,#barbe2, #barbe3
{
    max-width: 60%;
    max-height: 60%;
    margin-top: 3%;
    margin-right: 3%;
    margin-left: 3%;
}

.article
{
  width:1mm;
  height: 2mm;
  border:100px solid black;
  line-height: -600px;
  margin:100px;
  padding:500mm;
 
}

@media print
{
    
  @page
  {
      size: 220mm 300mm; 
  }
  body
   {
      display: block; 
      margin: 0;
   }
   section.page
   {
      margin: 0; 
      border:1px solid black;
      margin:10px;
      padding:5mm;
      position: relative;
      top: -2250;
   }

}




  • remplacer toutes les lettres d'une phrase, ici pangramme, par un mot


{ sample_string = "z o e m a g r a n d e f i l l e v e u t q u e j e b o i v e c e w h i s k y d o n t j e n e v e u x p a s " char_to_replace = {

                  'a': 'rêver',
                  'b': 'super',
                  'c': 'ah bon',
                  'd': 'melodie',

etcetctetectctctetetc


sample_string = sample_string.translate(str.maketrans(char_to_replace)) print(sample_string) }


# -*- coding: utf8 -*-

voix_un = int(input("Enter first number "))
voix_deux = int(input("Enter second number "))

print("\n")
print("First Number:", voix_un)
print("Second Number:", voix_deux)
x = voix_un + voix_deux

if x == 2:
    print("100 %")
elif x == 12 :
    print ("100%")
elif x == 3 :
    print ("90%")
elif x == 13 :
    print ("90%")
elif x == 4 :
    print ("80%")
elif x == 14 :
    print ("80%")
elif x == 5 :
    print ("70%")
elif x == 15 :
    print ("70%")
elif x == 6 :
    print ("60%")
elif x == 16 :
    print ("60%")
elif x == 7 :
    print ("50%")
elif x == 17 :
    print ("50%")
elif x == 8 :
    print ("40%")
elif x == 18 :
    print ("40%")
elif x == 9 :
    print ("30%")
elif x == 19 :
    print ("30%")
elif x == 10 :
    print ("20%")
elif x == 20 :
    print ("20%")
elif x == 11 :
    print ("10%")
else : 
    print ("bizarre")

scale map processing java function