Skip to content

Instantly share code, notes, and snippets.

View Basilicous's full-sized avatar

Basil Basilicous

View GitHub Profile
@Basilicous
Basilicous / algo.py
Created July 18, 2018 19:44 — forked from howCodeORG/algo.py
howCode's Simple Genetic Algorithm in Python
import random
population = 200
generations = 0
mutation = 0.01
alphabet = "abcdefghijklmnopqrstuvwxyz! "
target = "subscribe to howcode!"
output = ""
data = []