diff --git a/Activity_3_python/exercises_1/exercise_1_6_mieux.py b/Activity_3_python/exercises_1/exercise_1_6_mieux.py deleted file mode 100644 index a7c78f2..0000000 --- a/Activity_3_python/exercises_1/exercise_1_6_mieux.py +++ /dev/null @@ -1,39 +0,0 @@ -identifiants = { - "ale.lecouturier":"Huz4", - "lea.martin":"monty" - } - -#identifiant = input("Identifiant : ") -#motdepasse = input("Mot de passe : ") - -def f(): - if identifiant.get() in identifiants and motdepasse.get() == identifiants[identifiant]: - print(True) - else: - print(False) - - -from tkinter import * - -fenetre = Tk() - -label = Label(fenetre, text="Identifiant :") -label.pack() - - -identifiant = Entry(fenetre, width=30) -identifiant.pack() - - - -label = Label(fenetre, text="Mot de passe :") -label.pack() - - -motdepasse = Entry(fenetre, width=30) -motdepasse.pack() - -bouton = Button(fenetre, text="Se connecter", command=f) -bouton.pack() - -fenetre.mainloop() \ No newline at end of file diff --git a/Activity_PHP/calculatrice/calculatrice.jpg b/Activity_PHP/calculatrice/calculatrice.jpg new file mode 100644 index 0000000..38d477e Binary files /dev/null and b/Activity_PHP/calculatrice/calculatrice.jpg differ diff --git a/Activity_PHP/calculatrice/calculatrice.php b/Activity_PHP/calculatrice/calculatrice.php new file mode 100644 index 0000000..133a36f --- /dev/null +++ b/Activity_PHP/calculatrice/calculatrice.php @@ -0,0 +1,24 @@ + + + + + Calculatrice + + + +

Calculatrice 4 operation

+ +

Saisir un nombre, choisir un signe, saisir un second nombre puis cliquer sur =

+ +
+ + + +
+ + \ No newline at end of file diff --git a/Activity_PHP/calculatrice/calculatrice2.php b/Activity_PHP/calculatrice/calculatrice2.php new file mode 100644 index 0000000..b7431bd --- /dev/null +++ b/Activity_PHP/calculatrice/calculatrice2.php @@ -0,0 +1,35 @@ + + + + + Calculatrice + + + +

Calculatrice 4 operation, resultat :

+

+ +

+ + \ No newline at end of file diff --git a/Activity_PHP/calculatrice/styles.css b/Activity_PHP/calculatrice/styles.css new file mode 100644 index 0000000..cd6de90 --- /dev/null +++ b/Activity_PHP/calculatrice/styles.css @@ -0,0 +1,7 @@ +body { + background-color: yellow; +} + +img { + width: 150px; +} \ No newline at end of file diff --git a/Activity_PHP/calendar/calendrier.css b/Activity_PHP/calendar/calendrier.css new file mode 100644 index 0000000..e69de29 diff --git a/Activity_PHP/calendar/calendrier.php b/Activity_PHP/calendar/calendrier.php new file mode 100644 index 0000000..2181706 --- /dev/null +++ b/Activity_PHP/calendar/calendrier.php @@ -0,0 +1,11 @@ + + + + + + Calendrier + + +
+ + \ No newline at end of file diff --git a/Activity_PHP/checkerboard/damier.css b/Activity_PHP/checkerboard/damier.css new file mode 100644 index 0000000..181c1f0 --- /dev/null +++ b/Activity_PHP/checkerboard/damier.css @@ -0,0 +1,20 @@ +body { + background-color: gray; +} + +td { + width: 50px; + height: 50px; +} + +table { + border-collapse:collapse; +} + +.n { + background-color: black; +} + +.b { + background-color: white; +} \ No newline at end of file diff --git a/Activity_PHP/checkerboard/damier.php b/Activity_PHP/checkerboard/damier.php new file mode 100644 index 0000000..04c93f4 --- /dev/null +++ b/Activity_PHP/checkerboard/damier.php @@ -0,0 +1,20 @@ + + + + + + Damier + + + +
+ + + + + + + +
+ + \ No newline at end of file diff --git a/Activity_PHP/checkerboard/damier2.php b/Activity_PHP/checkerboard/damier2.php new file mode 100644 index 0000000..0940535 --- /dev/null +++ b/Activity_PHP/checkerboard/damier2.php @@ -0,0 +1,41 @@ + + + + + + Damier + + + + + "); + for ($j=0; $j<$colone ; $j++) { + if ($color == 'b') { + $color = 'n'; + } else { + $color = 'b'; + } + echo(""); + + } + echo(""); + if ($i % 2 == 0) { + $color = 'n'; + } else { + $color = 'b'; + } + + } + + ?> +
+ + + \ No newline at end of file diff --git a/Activity_PHP/date_of_birth/ne_e_quel_jour.css b/Activity_PHP/date_of_birth/ne_e_quel_jour.css new file mode 100644 index 0000000..8a8c0e8 --- /dev/null +++ b/Activity_PHP/date_of_birth/ne_e_quel_jour.css @@ -0,0 +1,12 @@ +body { + background-color: floralwhite; +} + +h1, +h2 { + color: blue; +} + +.ne { + display: flex; +} \ No newline at end of file diff --git a/Activity_PHP/date_of_birth/ne_e_quel_jour.php b/Activity_PHP/date_of_birth/ne_e_quel_jour.php new file mode 100644 index 0000000..0e2b3cd --- /dev/null +++ b/Activity_PHP/date_of_birth/ne_e_quel_jour.php @@ -0,0 +1,31 @@ + + + + + Calculatrice + + + +

Quel jour de la semaine êtes-vous né(e) ?

+ +
+
+

Votre prénom :

+ +
+ +

Votre date de naissance SVP ?:

+ +
+

Jour du mois :

+ +

mois :

+ +

année :

+ +
+ + +
+ + \ No newline at end of file diff --git a/Activity_PHP/date_of_birth/ne_e_quel_jour2.php b/Activity_PHP/date_of_birth/ne_e_quel_jour2.php new file mode 100644 index 0000000..d1651d6 --- /dev/null +++ b/Activity_PHP/date_of_birth/ne_e_quel_jour2.php @@ -0,0 +1,46 @@ + + + + + Calculatrice + + + +

Quel jour de la semaine êtes-vous né(e) ?

+ +

+ +

+ + \ No newline at end of file diff --git a/Activity_PHP/the_sphere/lasphere.php b/Activity_PHP/the_sphere/lasphere.php new file mode 100644 index 0000000..d099ab2 --- /dev/null +++ b/Activity_PHP/the_sphere/lasphere.php @@ -0,0 +1,27 @@ + + + + + La sphere + + +

Calcul de l'aire de la surface ou du volume d'une sphere

+
+ + + + +
+

+ Aire + Volume +
+ Rayon en m: + + +

+
+ + \ No newline at end of file diff --git a/Activity_PHP/the_sphere/lasphere2.php b/Activity_PHP/the_sphere/lasphere2.php new file mode 100644 index 0000000..076c7f1 --- /dev/null +++ b/Activity_PHP/the_sphere/lasphere2.php @@ -0,0 +1,28 @@ + + + + + La sphere + + +

Aire ou volume d'une sphere, le resultat:

+

+ + + +

+ + \ No newline at end of file diff --git a/Activity_PHP/the_sphere/sphere.jpg b/Activity_PHP/the_sphere/sphere.jpg new file mode 100644 index 0000000..a17f6a4 Binary files /dev/null and b/Activity_PHP/the_sphere/sphere.jpg differ