Question
Specifications Create a database file (players_Data.db) that contains a Player table that stores the data for each player. DO CODE IN PYTHON Display the players
Specifications
Create a database file (players_Data.db) that contains a Player table that stores the data for each player. DO CODE IN PYTHON
Display the players in order by wins, starting with the player with the most wins. Assume that the name for each player is unique.
Possible enhancement
Add an update command. This command should prompt the user to enter the name of a player. Then, it should let the user update the wins, losses, and ties for the player.
Note: Games field shown in the view command is the sum of Wins, Losses, and Ties
Games = Wins +Losses +Ties
Create a program that allows you to store the data for players of a game. Console Player Manager COMMAND MENU view - View players Add a player - Delete a player del exit - Exit program Command: view Name Wins Losses Ties Games Mike Joel 3 7 7 10 14 20 Command: add Name: anne Wins 9 Losses: 5 Ties: 3 Anne was added to database Command: view Name Wins Losses Ties Games Anne Mike Joel 17 14 20 7 10 Command: del Name: anne Anne was deleted from database Command: exit ByeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started