Skip to content

Instantly share code, notes, and snippets.

View Basilicous's full-sized avatar

Basil Basilicous

View GitHub Profile
@howCodeORG
howCodeORG / algo.py
Created May 12, 2018 01:35
howCode's Simple Genetic Algorithm in Python
import random
population = 200
generations = 0
mutation = 0.01
alphabet = "abcdefghijklmnopqrstuvwxyz! "
target = "subscribe to howcode!"
output = ""
data = []