3 ms·
I think that's unrelated to the type annotations though. Using the other function: def _award_points_for_letters(guessed: int) -> int: return 0 if g
by maccard 4y ago
I think that's unrelated to the type annotations though. Using the other function:
def _award_points_for_letters(guessed: int) -> int:
return 0 if guessed < 5 else guessed # minimum 6 points possible!
vs
def _award_points_for_letters(guessed):
return 0 if guessed < 5 else guessed # minimum 6 points possible!
is "guessed" letters or is it the number guessed?