Write a python program that stores the data for eachplayer on the team, and it also lets the manager set a startinglineup for each game.
NB: Please, can you write the code in Python.Thanks!
Questions:
– Handle the exception that occurs if the program can’t find thedata file.
– Handle the exceptions that occur if the user enters a stringwhere an integer is expected.
– Handle the exception that occurs if the user enters zero forthe number of at bats.
– Thoroughly test the program and update it so it handles allexceptions that you encounter during testing.
Console
================================================================
Baseball Team Manager
MENU OPTIONS
1 – Display lineup
2 – Add player
3
OR
OR