Untitled
unknown
abc
3 years ago
205 B
7
Indexable
naboliste = []
for n in number_list_oddetall:
if n % 2 != 0:
naboliste.append(n)
for x in number_list_partall:
if x % 2 == 0:
naboliste.insert(x + 1, x)
print("Svar: ", naboliste)Editor is loading...