Skip to content

Conversation

AAbasinejad
Copy link

@AAbasinejad AAbasinejad commented Mar 26, 2020

The random.choice() function does not accept an object of type "generator" (e.g. G.neighbors(X)), it will be fine by convert that generator object to a list.

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

Successfully merging this pull request may close these issues.

1 participant