Skip to content

Instantly share code, notes, and snippets.

@royletron
Created March 16, 2013 12:51
Show Gist options
  • Save royletron/5176249 to your computer and use it in GitHub Desktop.
Save royletron/5176249 to your computer and use it in GitHub Desktop.
a = [2, 17, 24, 6, 7, 29, 11, 10]
b = []
for i in a:
if i > 10:
b.append(i)
print(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment