Skip to content

Instantly share code, notes, and snippets.

@Lucretiel
Last active August 29, 2015 14:06
Show Gist options
  • Save Lucretiel/4903311d58b799490e4e to your computer and use it in GitHub Desktop.
Save Lucretiel/4903311d58b799490e4e to your computer and use it in GitHub Desktop.
from sys import stdin
data = stdin.read()
print(next(port
for port in range(491, 600)
if str(port) not in data))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment