Skip to content

Instantly share code, notes, and snippets.

@albertochiwas
Last active August 31, 2016 20:00
Show Gist options
  • Save albertochiwas/982ab26bacec29b5dc77eb8010181acc to your computer and use it in GitHub Desktop.
Save albertochiwas/982ab26bacec29b5dc77eb8010181acc to your computer and use it in GitHub Desktop.
Programación semi-funcional en Python
Star = u"\u2605"
for s in [Star*i for i in range(1,5)]: print s
for s in [Star*i for i in reversed(range(1,10)) if i%2==1]: print s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment