For an assignment I've been given one of the functions we have to make is display_players, we were given this list and I'm struggling with understanding how to correctly format the list so it displays like the sample output.
Ray Holt 5 5 0 0 100 15
Jessica Jones 12 0 6 6 50 6
Johnny Rose 6 2 0 4 20 10
Gina Linetti 7 4 0 3 300 15
Sample Output:
===========================================================
- Player Summary -
===========================================================
- P W L D Chips Score -
-----------------------------------------------------------
- Ray Holt 5 5 0 0 100 15 -
-----------------------------------------------------------
- Jessica Jones 12 0 6 6 50 6 -
-----------------------------------------------------------
- Johnny Rose 6 2 0 4 20 10 -
-----------------------------------------------------------
- Gina Linetti 7 4 0 3 300 15 -
-----------------------------------------------------------
===========================================================
I know the very basics of using <, >, ^ etc. when it comes to creating spacing, however I'm not really sure how to do it on such a scale. Any tips would be greatly appreciated :)
EDIT: I'm not allowed to use any libraries for this assigment sadly