Я написал 2 программы и у них одна и та же ошибка. Не пойму что она значит.
Failed test #1. Runtime error
Traceback (most recent call last):
File “jailed_code”, line 19, in <module>
l = list(map(int, input().split()))
EOFError: EOF when reading a line
lst = [int(i) for i in input().split()] def modify(lst): i = -1 while i >= -len(lst): if lst[i] % 2 != 0 or lst[i] == 0: del lst[i] else: lst.insert(i,(lst[i] // 2)) del lst[i] i -= 1 modify(lst) print(lst) lst = [int(i)for i in input().split()] lst2 = [] def modify(lst): for i in range(len(lst)): if lst[i] % 2 == 0 and lst[i] != 0: lst2.append(lst[i]//2) lst[:] = [] for i in lst2: lst.append(i) modify(lst) print(lst)