def nostrings(jumble): return([number if type(number) == int else 0 for number in jumble]) print(nostrings([99, 'no data', 95, 94, 'no data']))