Skip to content

Instantly share code, notes, and snippets.

@rish-16
Created July 21, 2018 11:55
Show Gist options
  • Save rish-16/bd21a774c4e246f34e9bc8a17ef5ad1b to your computer and use it in GitHub Desktop.
Save rish-16/bd21a774c4e246f34e9bc8a17ef5ad1b to your computer and use it in GitHub Desktop.
class PAgent():
def __init__(self, length):
self.string = ''.join(random.choice(string.ascii_letters) for _ in range(length))
self.fitness = -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment