您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
此存儲庫已封存,您能瀏覽檔案及複製此存儲庫,但不能推送、建立問題及拉取請求。
 
 
 
 
 
 

28 行
430 B

  1. largeur = 9
  2. def affiche_ligne(début, fin):
  3. blancs_au_début = " " * début
  4. largeur_ligne = fin - début
  5. dièses = "#" * largeur_ligne
  6. print(blancs_au_début + dièses)
  7. def affiche_feuilles():
  8. affiche_ligne(5, 6)
  9. affiche_ligne(4, 7)
  10. # à compléter
  11. def affiche_pied():
  12. affiche_ligne(5, 6)
  13. # à compléter
  14. def affiche_sapin():
  15. affiche_feuilles()
  16. affiche_pied()
  17. affiche_sapin()