Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def affiche_table(table):
- for ligne in table :
- for i in range(len(ligne)):
- if i == 1 :
- print("{:>2}".format(ligne[i]), end = "")
- if i == 2 :
- print("{:>40.40}".format(ligne[i]), end = "")
- if i == 6 :
- print("{:>25}".format(ligne[i]), end = "")
- if i == 5 :
- print("{:>5}".format(ligne[i]), end = "")
- if i == 15 :
- print("{:>7}".format(ligne[i]), end = "")
- if i == 16 :
- print("{:>10}".format(ligne[i]), end = "")
- if i == 17 :
- print("{:>10}".format(ligne[i]), end = "")
- print("")
- print("---")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement