Skip to content

Instantly share code, notes, and snippets.

Created May 5, 2016 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/637ec33f6e4d426c62c47718e55908da to your computer and use it in GitHub Desktop.
Save anonymous/637ec33f6e4d426c62c47718e55908da to your computer and use it in GitHub Desktop.
test.py
a=['22','35','40','0','7']
def printn(n):
n=int(n)
i=0
while(i<=n):
print(i)
i+=1
map(printn,a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment