
IALB08 | Article cobaye
Test syntax highlighting Web-Soul Python # Fonction de test class WebSoul: def __init__(self, nom): self.nom = nom self.actif = True @property def description(self): return f »Bonjour {self.nom} » def afficher(self): if self.actif: print(self.description) else: return None web = WebSoul(« Web-Soul ») web.afficher() Bash #!/bin/bash NAME= »Web-Soul » COUNT=3 echo « Bonjour $NAME » for i in $(seq 1 $COUNT); do docker compose up -d docker ps done PowerShell