Daftar Python iterate in 1 baris
mylist = [1,4,5,8,9,11,13,12]
newlist = [x for x in mylist if x%2 == 1]
print(newlist)
Nervous Nightingale
mylist = [1,4,5,8,9,11,13,12]
newlist = [x for x in mylist if x%2 == 1]
print(newlist)