Skip to content

book1-exercises/chp08/cats_with_hats.py #30

@r00b1k

Description

@r00b1k

cats = [False] * (100 + 1) it creates 101 number of cats when we need only 100 by the description.

>>> len([False] * (100 + 1))
101

You have 100 cats.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions