Ask coding questions

← Back to all posts
hehe so.. I need help with dividing
Ezmeralda (1)

so like what I need help with is "total" divided by "number"

Answered by littlepenguin (143) [earned 5 cycles]
View Answer
Comments
hotnewtop
littlepenguin (143)

Here:

print(str("Enter 3 Test Scores"))
score1=int(input('Please enter your first score.'))
score2=int(input('Please enter your second score.'))
score3=int(input('please enter your third score.'))
total= score1 + score2 +score3
number=3
answer = total//number
print('The First Test Score is ',score1)
print('The Second  Test  Score is ', score2)
print('The Third Test Score is ', score3)
print('The Total Score is ', total)
print('The Average Score is ', answer)