Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
list_2 = [x for x in range(len(list_1)) if list_1[x] == ' ']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment