Question: for python 3 please PREV NEXTO xercise 71434 x WORK AREARESULTS The Springfork Amateur Golf Club has a tournament every weekend. The club president has

for python 3 please
PREV NEXTO xercise 71434 x WORK AREARESULTS The Springfork Amateur Golf Club has a tournament every weekend. The club president has asked you to write a program that will read each player's name and score as keyboard input, and then save these as records in a file named golf.txt First, have the program ask the user how many players they want to add to their record. Then, ask the user for each name and score individually. golf.txt should be structured so that there is a line with the player's name, folowed by their score on the next line. Emily 30 Mike 20 Jonathan 23 SAMPLE RUN #2: python3 GolfScorewriter.py Interactive SessionHide Invisibles Enter-number of players:4 Enter name of player number-1 0immy Enter score-of player-number-1:30 Enter-name-of player number 2:Carlyd Enter.score of player numben 2:20 Enter name-of player number-3:Marissad Enter score of player number 3:5S Enter name of player number 4 Brettd Enter score of player-numben:4:23
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
