Skip to content

Instantly share code, notes, and snippets.

@dshabin
Created May 13, 2016 19:58
Show Gist options
  • Save dshabin/217f0d9ade7a6dd8ca9e7ca26f01312c to your computer and use it in GitHub Desktop.
Save dshabin/217f0d9ade7a6dd8ca9e7ca26f01312c to your computer and use it in GitHub Desktop.
def my_recursion(l):
if len(l) == 0:
return
else:
print l[0];
a = l[1:];
return my_recursion(a)
my_recursion([1,342,3,4,234,6])
@gorros
Copy link

gorros commented May 13, 2016

👍

@dshabin
Copy link
Author

dshabin commented May 16, 2016

Thank you for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment