This is a simple Python program that collects information about soccer players, calculates their overall ratings, and determines their salaries based on their skills.
- Collects player information such as player ID, name, date of birth, and skills.
- Calculates the player's age and overall rating.
- Determines the player's salary based on their overall rating.
- Stores player information in a table and writes it to a file (
players.txt
).
- Python 3.x
- Required Python packages:
tabulate
dateutil
- Run the program:
football_skills.ipynb
. - Enter details for each player as prompted.
- The program will calculate ratings and salaries and display a table with the player information.
- The table is also saved to
players.txt
.
football_skills.ipynb
: Main Python script.players.txt
: File to store player information.