simple function

Run Settings
LanguagePython
Language Version
Run Command
#simple function 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) #list comprehension #new_list=[expression action, for loop, filter] new_list=[item[::-1] for item in old_list if len(item)>2]
Editor Settings
Theme
Key bindings
Full width
Lines