Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 459 Bytes

File metadata and controls

17 lines (11 loc) · 459 Bytes

Messi is a soccer player with goals in three leagues:

  • LaLiga
  • Copa del Rey
  • Champions

Complete the function to return his total number of goals in all three leagues.

Note: the input will always be valid.

For example:

5, 10, 2  -->  17