From 802b3c739e3bbd26ccdf73653dfb9902a8500baf Mon Sep 17 00:00:00 2001 From: c91fed27293030657fb1cec428c64f9f Date: Sun, 5 Apr 2020 16:03:22 +0000 Subject: [PATCH] =?UTF-8?q?Exercice=2001=20(2e=20partie)=20:=20s'initier?= =?UTF-8?q?=20=C3=A0=20Markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module1/exo2/fichier-markdown.md | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 module1/exo2/fichier-markdown.md diff --git a/module1/exo2/fichier-markdown.md b/module1/exo2/fichier-markdown.md new file mode 100644 index 0000000..c40781e --- /dev/null +++ b/module1/exo2/fichier-markdown.md @@ -0,0 +1,44 @@ +# Partie 1 + +## Sous-partie 1 : texte + +Une phrase sans rien + +*Une phrase en italique* + +**Une phrase en gras** + + + +``` +print("Hello world!") + +``` +## Sous-partie 2 ; listes + +listes à puce + +- item + - sous item + - sous item +- item +- item + +Liste numérotée + +1. item +2. item +3. item + + +## Sous-partie 3 : code + + +~~~~~~~ +from time import localtime +heure = localtime().tm_hour +if heure < 17: +print("Bonjour !") +else: +print("Bonsoir !") +~~~~~~~ \ No newline at end of file -- 2.18.1