Open Jaygup opened 5 years ago
Hi @Jaygup Sorry!
Yes, Tuesday and Wednesday of this week is 12-1pm :)
Hi @Jaygup - Is it not working for you today?
For Loop Player Code:
playerA = [8, 9, 10, 8, 7, 8]
playerB = [10, 13, 18, 20, 14]
playerATotalScore = 0
playerBTotalScore = 0
for playerAScore in playerA:
playerATotalScore += playerAScore
for playerBScore in playerB:
playerBTotalScore += playerBScore
print( 'Average score for player A:', playerATotalScore/len(playerA))
print( 'Average score for player B:', playerBTotalScore/len(playerB))
print( 'Average score for all players:', (playerBTotalScore/len(playerB) + playerATotalScore/len(playerA))/2)
Just confirming that I have class tomorrow from 12 to 1.