Skip to content

Instantly share code, notes, and snippets.

@poliarush
Created September 16, 2013 18:10
Show Gist options
  • Save poliarush/6584322 to your computer and use it in GitHub Desktop.
Save poliarush/6584322 to your computer and use it in GitHub Desktop.
a = 1,2,"3",4,"5"
l = []
for item in a:
l.append(int(item)*3)
print l[l.index(int(item)*3)]+10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment