Updated repr/str

This commit is contained in:
SimpleArt
2020-11-16 20:51:09 -05:00
parent 2efebc4bcd
commit 0d8fb6147c
3 changed files with 14 additions and 19 deletions

View File

@ -148,11 +148,11 @@ class Population:
"""Sets the fitness value of the population"""
self.fitness = fitness
'''
def __repr__(self):
"""Returns a string representation of the entire population"""
"""Returns a backend string representation of the entire population"""
pass
'''
def print_all(self):
"""Prints information about the population in the following format: