Skip to content

Example: Unpacking with subscriptors #197

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

Open
steffen19w23 opened this issue Apr 22, 2020 · 2 comments
Open

Example: Unpacking with subscriptors #197

steffen19w23 opened this issue Apr 22, 2020 · 2 comments

Comments

@steffen19w23
Copy link

Since the result of

a=[1,0]; a[0],a[a[0]]=0,a[0]; print(a)

was unexpected for me, I prepared a section.

@steffen19w23
Copy link
Author

@satwikkansal no comment?

@satwikkansal
Copy link
Owner

@steffen19w23 Thanks for your PR.

I loved the example, but, I see some scope of improvement in simplification and presentation. That's why I've left it as is, I'll make minor modifications in your PR and merge it when I do that next major revision. Hope that's okay.

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

2 participants