Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use random.choice instead of random.randint#9

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mjhea0 merged 1 commit intorealpython:masterfromuttamo:patch-1
Sep 29, 2017
Merged

Use random.choice instead of random.randint#9

mjhea0 merged 1 commit intorealpython:masterfromuttamo:patch-1
Sep 29, 2017

Conversation

uttamo
Copy link
Contributor

random.choice is better for selecting random elements from a list than using random.randint to generate random indices to select

mjhea0 reacted with thumbs up emoji
random.choice is better for selecting random elements from a list than using random.randint to generate random indices to select
@mjhea0mjhea0 merged commitc2f695f intorealpython:masterSep 29, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@uttamo@mjhea0

[8]ページ先頭

©2009-2025 Movatter.jp