Skip to content

Instantly share code, notes, and snippets.

@dshabin
Created May 13, 2016 19:58
Show Gist options
  • Select an option

  • Save dshabin/217f0d9ade7a6dd8ca9e7ca26f01312c to your computer and use it in GitHub Desktop.

Select an option

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

gorros commented May 13, 2016

Copy link
Copy Markdown

👍

@dshabin

dshabin commented May 16, 2016

Copy link
Copy Markdown
Author

Thank you for review.

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