Hi
I'm stuck. What wron in this code ?
def checkio(number): s = str(number) wynik = 1 for i in s: wynik = wynik * int(s[int(i)]) print("moj wynik to: ") print(wynik) return wynik checkio(1234)
Pycharm info : IndexError: string index out of range