Skip to content

Latest commit

 

History

History

sum-a-list-but-ignore-any-duplicates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Please write a function that sums a list, but ignores any duplicate items in the list.

For instance, for the list [3, 4, 3, 6] , the function should return 10.