Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logics-py: sum function not working #33

Open
Pumuckl4630 opened this issue Jan 25, 2024 · 0 comments
Open

logics-py: sum function not working #33

Pumuckl4630 opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working logics-py

Comments

@Pumuckl4630
Copy link

This test case:

8724 < sum([x * x for x in (500, 1000, 90, 250, 25) if x < 100])
#EXPECT:True

does not work in logics-py but it works in logics-js

The problem seems to be with the sum function as the comprehension produces the right result
Here is a screenshot with both cases.

grafik

@phorward phorward added bug Something isn't working logics-py labels Jan 26, 2024
@phorward phorward changed the title Logics-py: sum function not working logics-py: sum function not working Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working logics-py
Projects
None yet
Development

No branches or pull requests

2 participants