def add_all_nums(*nums):
    tot = 0
    for n in nums:
        if isinstance(n, int): # or use type(n) to verify
            tot += n
        else:
            print(f'{n} is not a number')
    return tot

print(add_all_nums(2, 'b', 3))

503b34b431b1c99a45c0e576ad27dc00a086d24f
<mask token>

def add_all_nums(*nums):
    tot = 0
    for n in nums:
        if isinstance(n, int):
            tot += n
        else:
            print(f'{n} is not a number')
    return tot


<mask token>

def add_all_nums(*nums):
    tot = 0
    for n in nums:
        if isinstance(n, int):
            tot += n
        else:
            print(f'{n} is not a number')
    return tot


print(add_all_nums(2, 'b', 3))

def add_all_nums(*nums):
    tot = 0
    for n in nums:
        if isinstance(n, int): # or use type(n) to verify
            tot += n
        else:
            print(f'{n} is not a number')
    return tot

print(add_all_nums(2, 'b', 3))
