Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #The next section of code is for the yearly total. This code will predict the yearly total for an individual stat for a certain team based on the users' input.
- team = raw_input('What team do you want to compute the yearly averages for? 1 for Hornets, 2 for Bucks, 3 for Pistons, 4 for Raptors')
- if team == str(1):
- h_tpts = (h_pts) * 82
- print h_tpts
- print("The Hornets score " + str(h_pts) " per game. This current pace would have them scoring " + str(h_tpts) " for the whole entire year")
- if team == str(2):
- b_tnet = (b_net) * 82
- print("The Bucks outscore their opponents by an average of " + str(b_net) " per game. With this current average, the Bucks will outscore all of their opponents this season by a total of " + str(b_tnet))
- if team == str(3):
- p_ttrb = (p_trb)*82
- print("The Pistons have the best rebounding center in the league with Andre Drummond, so they average " +str(p_trb) " per game. This average would put them on pace for " +str(p_ttrb) " rebounds for the season as a team")
- if team == str(4):
- r_ttov = r_tov * 82
- print("The Raptors average " +str(r_tov) " turnovers per game. This would put them at a season total of " +str(r_ttov) " turnovers with this current average.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement