Skip to content

I wouldn't use math.floor(x) != x #3

@KleinerNull

Description

@KleinerNull

Go the save round and just use isinstance(n, numbers.Number) or numbers.Complex, numbers.Real and and and. So you don't need to import the math module at all, which I think was your goal.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions