Ad
Code
Diff
  • def score(t, c):
        return sum(t*5, c*2)
    • def score(t, c):
    • if t and c:
    • score = 7
    • else:
    • score = 5
    • return score
    • return sum(t*5, c*2)