Ad

idk

Code
Diff
  • def sum(arr):
        var = 0
        for i in arr:
            if str(i).isdigit():
                var += i
        return var
    
    • def sum(arr):
    • var = 0
    • for i in arr:
    • var += i
    • if str(i).isdigit():
    • var += i
    • return var