list comprehension
old_list = ['this', 'is', 'a', 'man']
new_list = []
for item in old_list:
if len(item) > 2:
new_list.append(item[::-1])
print(new_list)
# (if)filter must after forINFO
old_list = ['this', 'is', 'a', 'man']
new_list = []
for item in old_list:
if len(item) > 2:
new_list.append(item[::-1])
print(new_list)
# (if)filter must after for