Skip to content

book1-exercises/chp08/cats_with_hats.py #30

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions