← 输入框|github.com|刷新
Skip to content

Support List Compare like String Compare (index by index) #1832

Closed

Description

@faze-geek
print([3,4,5]<[1,6,7])             # Expected output is false

semantic error: Compare: only Integer, Real, Logical, or String can be on the LHS and RHS.If operator is Eq or NotEq then Complex type is also acceptable
 --> try.py:2:11
  |
2 |     print([3,4,5]<[1,6,7])

Activity

  1. AtmegaBuzz commented on May 22, 2023

    @AtmegaBuzz
    Contributor

    @faze-geek Are you working on this ? if not then i would like to take this issue

  2. faze-geek commented on May 22, 2023

    @faze-geek
    ContributorAuthor

    @faze-geek Are you working on this ? if not then i would like to take this issue

    No, you can go ahead and attempt it @AtmegaBuzz

  3. AtmegaBuzz commented on May 22, 2023

    @AtmegaBuzz
    Contributor

    Thank you 😊

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

Metadata

Metadata

Assignees

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