Skip to content

Instantly share code, notes, and snippets.

@xmnlab
Last active November 10, 2016 20:03
Show Gist options
  • Save xmnlab/adf55820d1134e9a31121a88d05d2375 to your computer and use it in GitHub Desktop.
Save xmnlab/adf55820d1134e9a31121a88d05d2375 to your computer and use it in GitHub Desktop.
iinput
def iinput():
while True:
v = input('Name: ')
if not v:
break
yield v
[print(v) for v in iinput()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment