« Programmation Python/Afficher un texte » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 189 :
<source lang="python">
print('\x1b[6;31;40m' + ' Texte rouge ' + '\x1b[0m')
print('\x1b[6;30;42m' + ' Fond vert ' + '\x1b[0m')
</source>