Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a python code for this problem Sports Informatics LLC Computer science in sport is an interdisciplinary discipline that has its goal in combining the
write a python code for this problem
Sports Informatics LLC Computer science in sport is an interdisciplinary discipline that has its goal in combining the theoretical as well as practical aspects and methods of the areas of informatics and sport science. The main emphasis of interdisciplinarity is placed on the application and use of computer-based but also mathematical techniques in sport science, aiming in this way at the support and advancement of theory and practice in sports!" The reason why computer science has become an important partner for sport science is mainly connected with "the fact that the use of data and media, the design of models, the analysis of systems, etc. increasingly requires the support of suitable tools and concepts which are developed and available in computer science". (wikipedia) You are assigned as an entry-level programmer to write some basic programs to do calculations for the team at Sports Informatics LLC. Please complete the following tasks: 1. Choose four different sports. (ie, tennis, basketball, baseball) 2. Choose four different players within each sport. a. Write a program that uses the input function to read a string three strings as input from the keyboard. Get the user's first name, last name, and their sport. b. Print a greeting to the user after you retrieve their information. 3. Create a program that uses the input function to read a string, an int and as input from the keyboard. a. You will need to get the user's name, sport, age (int), and income (float). b. You will need to display the data you retrieve from the athletes. C. Run the program showing input and output. 4. Calculate the average scores of the player for the last 3 years. a. Use input statements to get the scores of the four players from each sport. b. Create a variable for average for each player over the last 3 years. i. example: Ryan Braun Baseball Home Runs over 3 years - 344 c. Display the final program showing the output for each 5. Write a program to format the following sport scores numbers to 2 decimal places. a. 239.4456 b. 45.789 c. 129.5609 d. 34.560 e. 189.99009 6. Use comment codes with your initials. 7. Write a brief paragraph explaining how you approached each program in your role. 8. Be sure to show code and outcome. Sports Informatics LLC Computer science in sport is an interdisciplinary discipline that has its goal in combining the theoretical as well as practical aspects and methods of the areas of informatics and sport science. The main emphasis of interdisciplinarity is placed on the application and use of computer-based but also mathematical techniques in sport science, aiming in this way at the support and advancement of theory and practice in sports!" The reason why computer science has become an important partner for sport science is mainly connected with "the fact that the use of data and media, the design of models, the analysis of systems, etc. increasingly requires the support of suitable tools and concepts which are developed and available in computer science". (wikipedia) You are assigned as an entry-level programmer to write some basic programs to do calculations for the team at Sports Informatics LLC. Please complete the following tasks: 1. Choose four different sports. (ie, tennis, basketball, baseball) 2. Choose four different players within each sport. a. Write a program that uses the input function to read a string three strings as input from the keyboard. Get the user's first name, last name, and their sport. b. Print a greeting to the user after you retrieve their information. 3. Create a program that uses the input function to read a string, an int and as input from the keyboard. a. You will need to get the user's name, sport, age (int), and income (float). b. You will need to display the data you retrieve from the athletes. C. Run the program showing input and output. 4. Calculate the average scores of the player for the last 3 years. a. Use input statements to get the scores of the four players from each sport. b. Create a variable for average for each player over the last 3 years. i. example: Ryan Braun Baseball Home Runs over 3 years - 344 c. Display the final program showing the output for each 5. Write a program to format the following sport scores numbers to 2 decimal places. a. 239.4456 b. 45.789 c. 129.5609 d. 34.560 e. 189.99009 6. Use comment codes with your initials. 7. Write a brief paragraph explaining how you approached each program in your role. 8. Be sure to show code and outcomeStep 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