We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2adf68 commit 878c8b0Copy full SHA for 878c8b0
Model Code/python/lesson_3.py
@@ -11,7 +11,7 @@
11
12
def guessMathsFunction(guess, guessTotal):
13
guessTotal += guess
14
- print("The sum of your guesses was:", guessTotal)
+ print("The sum of your guesses so far:", guessTotal)
15
return guessTotal
16
17
def guessQuality(guess, theNumber):
@@ -55,7 +55,6 @@ def guessQuality(guess, theNumber):
55
print("Your average guess was " + str(guessTotal / guessesTaken))
56
break
57
58
-
59
if guessesTaken == guessesAllowed:
60
print("Game over! The number was " + str(theNumber))
61
0 commit comments