Skip to content

hello world! example  #4

@unnir

Description

@unnir

I have these error messages for the hello world example.

Traceback (most recent call last):
  File "/genetics-master/hello_world.py", line 42, in <module>
    best, best_score, average_score = dna_stats(population)
  File "/genetics-master/hello_world.py", line 32, in dna_stats
    best_dna = max(population)
TypeError: unorderable types: WordDNA() > WordDNA()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions