Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Build a Python program that creates a minil database composed of teams in the MEAC conference. In order to do this, you will be expected

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Build a Python program that creates a minil database composed of teams in the MEAC conference. In order to do this, you will be expected to create functions, read texts files into the program, and conduct a serles of string manipulation procedures (ex. indexing and slicing). 1.10 There are two text files provided with this program: teamstt and teams iInfo.txt. The teams.txt file is comprised of data regarding all teams in the MEAC conference along with a designated ID number. The teams info.bxt file contains the teams designated ID number, win/loss record, and names of the head football coaches. Functions: Besides the main(), you will need to build three more functions: getteaml), getCoachNameD, and getTeamRecordo0. Each function, respectively, should read in one or both of these text files to acquire the necessary information. SringManipulationsking&Indexing!; To extract the intended information for each function, certain string manipulation procedures will need to be used: o getTeam)-this function should extract and print the name of each team to the screen. o getCoachName)-this function should extract both the name of each team along with the head football coach of that team and print them to the screen. o getTeamRecord)-this function should extract both the name of each team and their win-loss record and print them to the screen. For each function, make sure that exception handiers are incorporated to account for any potential errors that could occur from reading these text files into the program. In addition, you will need to create a menu option around these functions that allows the user to select which function to execute upon command. For getTeam), the user must input the characters or 't"; for getCoach Name() the user must input the characters-C' or 'c: and for getteamRecord) the user must input the characters R or r. See the example screen output below for an illustrated example MEAC MINI DATABASE For Names of Teams -Type T or t For Names of Coaches Type Cor c For Records of Teams Type R or Enter option

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands On Database

Authors: Steve Conger

1st Edition

013610827X, 978-0136108276

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago