Skip to content

Lesson 24: Practice 1 - Incorrect dictionary values passes practice #1074

Open
@Pingel88

Description

@Pingel88

Describe the bug
From what I've tested, as long as the the healing heart value is an integer, even the incorrect integer, you can enter whatever you want for the other 2 values and still pass.

To Reproduce
Steps to reproduce the bug:

  1. Enter "healing heart", "gems", and "sword" keys accurately
  2. Enter an integer value for the "healing heart" key
  3. Enter random values for "gems" and "sword" keys
  4. Press run and pass

Expected behavior
Should fail if you do not enter 3 healing hearts, 9 gems and 1 sword.

Screenshots
Image

Information about your device (please complete the following information):

  • Operating System: Windows
  • Browser: Chrome

Additional context
If you do not enter an integer for healing hearts, it locks up

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions