• erruchisdown : use much resources


I would like to give some feedback about ... that is my code that gives me an error "process has been killed because you use much resources ":

def checkio(number):
    N = str(number)
    replaced = N.replace('0','') 
    result = 1
    for s in replaced :
        num = int(s)

    return result

it From: https://py.checkio.org/mission/digits-multiplication/solve/


Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36