spisok = [-98, 12, -284, -6, 43, -67]
print('Список до:', spisok)
for i in range(len(spisok)):
if spisok[i] < 0:
spisok[i] = "x"
print('Список после:', spisok)
spisok = [-98, 12, -284, -6, 43, -67]
print('Список до:', spisok)
for i in range(len(spisok)):
if spisok[i] < 0:
spisok[i] = "x"
print('Список после:', spisok)