Skip to content

Commit 878c8b0

Browse files
authored
Minor tidying
and ensuring up-to-date
1 parent d2adf68 commit 878c8b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Model Code/python/lesson_3.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def guessMathsFunction(guess, guessTotal):
1313
guessTotal += guess
14-
print("The sum of your guesses was:", guessTotal)
14+
print("The sum of your guesses so far:", guessTotal)
1515
return guessTotal
1616

1717
def guessQuality(guess, theNumber):
@@ -55,7 +55,6 @@ def guessQuality(guess, theNumber):
5555
print("Your average guess was " + str(guessTotal / guessesTaken))
5656
break
5757

58-
5958
if guessesTaken == guessesAllowed:
6059
print("Game over! The number was " + str(theNumber))
6160
print("Your average guess was " + str(guessTotal / guessesTaken))

0 commit comments

Comments
 (0)