8000 SyntaxError: constant must be an integer · Issue #1082 · microbit-foundation/python-editor-v3 · GitHub
[go: up one dir, main page]

Skip to content
SyntaxError: constant must be an integer #1082
Open
microbit-foundation/micropython-microbit-v2-simulator
#113
@Thesnake66six

Description

@Thesnake66six

Although code runs fine on the actual microbit, it throws this error in the simulator.

from micropython import const

MY_CONST = const(0.5)

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

      0