Warning
CURRENTLY UNDER DEVELOPMENT
CLI-based basketball team statistics tool to divide up a group of players into same number of players per teams.
Creates a clean_data function. Which should perform the following actions:
Read the existing player data from the PLAYERS constants provided in constants.py Clean the player data using copy.deepcopy(). Save the cleaned data to a new collection.
Data to be cleaned: Height: Saved as an integer Experience: Saved as a boolean value (True or False)
Displaying the Stats: When displaying the selected teams' stats to the screen, includes: Team's name as a string Total players on that team as an integer The player names as strings separated by commas
This project focuses on:
- Conditional logic
- Loops
- Functions
- Data Types
python app.py
- Console/terminal-based gameplay
- List of teams and players. Clean the data and then organizing the players into equal teams.
- This tool will not only balance the teams by the total number of players but also let you generate some statistics for a given team
- Python
- User input handling
- Control flow
- Dictionaries inside lists
- Booleans
- Copy module copy.deepcopy()
- For loops
- Index list
- Key dictionaries
If you are interested in reporting/fixing issues and contributing directly to the code base, please see CONTRIBUTING.md for more information on what we're looking for and how to get started.
By participating in this project, you agree to abide by our Code of Conduct.
If you discover a security vulnerability, please review our Security Policy for reporting guidelines.
If you run into any issues or have questions, please check our SUPPORT.md file for guidance, or reach out through one of our community channels below.
Info on reporting bugs, getting help, finding third-party tools and sample apps, and more can be found on our Community channels:
- Discord: Community channel
- Slack Workspace: technobool.slack.com
- GitHub Discussions: Open a discussion