Skip to content

Instantly share code, notes, and snippets.

@justinnhli
Created October 15, 2018 19:41
Show Gist options
  • Save justinnhli/8412f392cc6abaaa8f04a0804a39f274 to your computer and use it in GitHub Desktop.
Save justinnhli/8412f392cc6abaaa8f04a0804a39f274 to your computer and use it in GitHub Desktop.
πŸ‘πŸ‘, πŸ‘πŸ‘πŸ‘, πŸ‘πŸ‘πŸ‘πŸ‘; πŸ‘πŸ‘.
#!/usr/bin/env python3
# vim: set fileencoding=utf-8
for num_claps in range(2, 5):
globals()[num_claps * 'clap'] = (lambda num_claps:
(lambda: print(num_claps * 'πŸ‘'))
)(num_claps)
clapclap()
clapclapclap()
clapclapclapclap()
clapclap()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment