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

Is len allowed? #3

Closed
lkhphuc opened this issue Apr 19, 2022 · 1 comment
Closed

Is len allowed? #3

lkhphuc opened this issue Apr 19, 2022 · 1 comment

Comments

@lkhphuc
Copy link

lkhphuc commented Apr 19, 2022

For example after puzzle 1, I want to construct a vectors of 1s with the same length as a given vector a, can I use ones(len(a))?

@lkhphuc
Copy link
Author

lkhphuc commented Apr 19, 2022

Oy sorry. I missed that we can use shape.

@lkhphuc lkhphuc closed this as completed Apr 19, 2022
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