Einzeile für Loop Python
[thing for thing in list_of_things]
Tremendous Enceladus
[thing for thing in list_of_things]
>>> [(i) for i in my_list if i=="two"]
['two']
mylist = [1,4,5,8,9,11,13,12]
newlist = [x+1 if x%2 == 1 else x for x in mylist]
print(newlist)