This Python program analyzes NBA positions. This program will organize players based on their roles on the court, showing some key statistics for NBA players. The five basketball positions (Point Guard, Shooting Guard, Small Forward, Power Forward, and Center) are used to classify a players attributes or even their playing style on the court.
Expected output for NBA points: 8.5
Expected output for NBA rebounds: 3.4
This program represents the correlation between a NBA player's rebounding and scoring abilities This provides insights for how a position can influence the game of basketball. The website being use was here. I found this website by searching NBA positions database. My database can be found in the website.
This program used variables such as integers and floats to store NBA players average points and rebounds per game in the playoffs. Arithmetic operations such as addition and division are used to compute averages across all positions.
Expected Output: The program outputs the average points and rebounds for each position in the NBA playoffs. These averages should include the following as computed in a spreadsheet program:
Average Points throughout all NBA positions: 8.54 points
Average Rebounds throughout all NBA positions: 3.46 rebounds.
My program is displayed below. This shows how it runs and computes the correct output as expected for the averages showed above.