Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
result[isinstance(item, int)] solution in Clear category for Sum by Type by flpo
def sum_by_types(items):
result = ['', 0]
for item in items:
result[isinstance(item, int)] += item
return result
March 5, 2020
Comments: