How should I set up a sentinel loop in python where the loop keeps running only if the new inputed number is greater than the old inputed number?
This is what I have right now, but I know it's not right.
totalScore = 0
loopCounter = 0
scoreCount = 0
newScore = 0
oldscore = newscore - 1
print("Enter the scores:")
score = (raw_input("Score 1"))
while newScore >= oldScore:
newScore = int(raw_input("Score " ) + (loopCounter + 1))
scoreTotal = scoreTotal+newScore+oldScore
scoreCount = scoreCount + 1
loopCounter = loopCounter + 1
averageScore = scoreTotal / scoreCount
print "The average score is " + str(averageScore)