Fixed repr format string

This commit is contained in:
SimpleArt
2020-12-20 15:53:56 -05:00
parent 27cc94e488
commit 97c614c74c

View File

@ -180,7 +180,7 @@ class Population:
which can be evaluated directly as code to create which can be evaluated directly as code to create
the population. the population.
""" """
return "EasyGA.make_population({repr(self.chromosome_list)})" return f"EasyGA.make_population({repr(self.chromosome_list)})"
def __str__(self): def __str__(self):