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

choices issue? #3

Open
MXS2514 opened this issue Nov 15, 2017 · 0 comments
Open

choices issue? #3

MXS2514 opened this issue Nov 15, 2017 · 0 comments

Comments

@MXS2514
Copy link

MXS2514 commented Nov 15, 2017

py3.6 win using latest cyrandom

import random

import cyrandom

random.choices([1,2,3,4,5], k = 2)
[4, 5]

cyrandom.choices([1,2,3,4,5], k = 2)
Traceback (most recent call last):
File "", line 1, in
File "cyrandom\cyrandom.pyx", line 104, in cyrandom.cyrandom.choices (cyrandom/cyrandom.c:2109)
IndexError: list assignment index out of range

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