14 (-1, 0) # LEFT
15])
16
17class Snake(): 18 snake, fruit = None, None
19
20 def __init__(self, s, genome):
1import numpy as np
2
3class Genome(): 4 def __init__(self):
5 self.fitness = 0
6
3# This program will transform the string
4
5stringOne = input("Please enter a string: ")
6def transform_string(): 7 alphabet = "abcdefghijklmnopqrstuvwxyz"
8 alphaLength = [1, 2, 3, 4, 5, 6, 7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,24 ,25 ,26]
9 if stringOne in alphaLength:
Two blank lines are expected between functions and classes.