TP4 Oublié partie(), section() et question()
This commit is contained in:
parent
d7086c05f7
commit
8248796a64
|
@ -17,6 +17,19 @@ http://www.fil.univ-lille1.fr/~L1S2API/CoursTP/tp4_tri.html
|
|||
__author__ = 'PREUD\'HOMME Geoffrey & BEAUSSART Jean-loup'
|
||||
__date_creation__ = 'Tue, 10 Mar 2015 10:26:41 +0100'
|
||||
|
||||
from random import randint, shuffle
|
||||
|
||||
def partie(nom):
|
||||
print('\n', nom, '=' * len(nom), sep='\n')
|
||||
|
||||
|
||||
def section(nom):
|
||||
print('\n', nom, '-' * len(nom), sep='\n')
|
||||
|
||||
|
||||
def question(numero):
|
||||
print('\n***', 'Question', numero, '***')
|
||||
|
||||
partie("Prérequis")
|
||||
|
||||
partie("Travail à réaliser")
|
||||
|
|
Reference in a new issue