Untitled

Anonymous
plain_text
08/05/2024 11:43 AM
168 B
22
Indexable
mixed_list = ['123', '456', '789', 'abc', 'def', '22s', '789']
my_new_list = [int(x) for x in mixed_list if x.isdigit()][::] 
Editor is loading...
Leave a Comment