diff --git a/module1/exo2/fichier-markdown.md b/module1/exo2/fichier-markdown.md new file mode 100644 index 0000000000000000000000000000000000000000..c40781ef325cc0b887fcb092596afd692e53cdc1 --- /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