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

Can I turn a generator object into a tuple without using tuple() #50

Open
Montana opened this issue Oct 3, 2022 · 0 comments
Open

Can I turn a generator object into a tuple without using tuple() #50

Montana opened this issue Oct 3, 2022 · 0 comments

Comments

@Montana
Copy link

Montana commented Oct 3, 2022

It's possible to use the following code to create a list:

[i+1 for i in(0,1,2)]
[1, 2, 3]

Can a similar thing be done with tuples in Streamflow?

(i+1 for i in(0,1,2)),
(<generator object <genexpr> at 0x03A53CF0>,)

Thanks Lockheed,
Montana Mendy

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

1 participant