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

Sum range with list error #3

Closed
ricardoavelino opened this issue May 15, 2020 · 3 comments
Closed

Sum range with list error #3

ricardoavelino opened this issue May 15, 2020 · 3 comments

Comments

@ricardoavelino
Copy link

Hello compas_skeleton developers,

This here pops up a message for me, it is not really possible to sum a range and a list.

I solved locally by:

keys = list(range(1, 5)) + [1]

Can we incorporate this, please?

Thanks
Ricardo

@ricardoavelino
Copy link
Author

@wenqian157 help us please :)

@tomvanmele
Copy link
Contributor

this will indeed no longer work in python 3+ (so it will only work when used in Rhino)...

wenqian157 added a commit that referenced this issue May 15, 2020
@wenqian157
Copy link
Contributor

updated it to the way you are using. ty ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants