Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
native_sum_by_type solution in Uncategorized category for Sum by Type by Jon_Red
def sum_by_types(i:list)->(str,int):
s,n=[s for s in i if type(s)==str],[n for n in i if type(n)==int]
return(''.join(s),sum(n))
May 5, 2020