Title: Use random.choice instead of random.randint by uttamo · Pull Request #9 · realpython/python-scripts · GitHub
Open Graph Title: Use random.choice instead of random.randint by uttamo · Pull Request #9 · realpython/python-scripts
X Title: Use random.choice instead of random.randint by uttamo · Pull Request #9 · realpython/python-scripts
Description: random.choice is better for selecting random elements from a list than using random.randint to generate random indices to select
Open Graph Description: random.choice is better for selecting random elements from a list than using random.randint to generate random indices to select
X Description: random.choice is better for selecting random elements from a list than using random.randint to generate random indices to select
Opengraph URL: https://github.com/realpython/python-scripts/pull/9
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:12315aa7-3a2f-3a1e-1bc6-8baa9b3f17dd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 81C0:3F1FB3:14EB0DC:1AF3180:696C59BA |
| html-safe-nonce | 6992fb7e1f222a7ddef0d2244b523ea66f99977e8643ec28596e22b31b7b5f70 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUMwOjNGMUZCMzoxNEVCMERDOjFBRjMxODA6Njk2QzU5QkEiLCJ2aXNpdG9yX2lkIjoiNDgwNzkyOTg0OTExMzc2MjIzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | df0045aa5bbd2d41397667af579dbab7ee28b92ac321cf7ab9a688cd7ceeedca |
| hovercard-subject-tag | pull_request:143527756 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/realpython/python-scripts/9/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c667c373321952e2fe3de06e353afd2f73365d8919ec8b79ee229b55d2c092f3/realpython/python-scripts/pull/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c667c373321952e2fe3de06e353afd2f73365d8919ec8b79ee229b55d2c092f3/realpython/python-scripts/pull/9 |
| og:image:alt | random.choice is better for selecting random elements from a list than using random.randint to generate random indices to select |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uttamo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/realpython/python-scripts git https://github.com/realpython/python-scripts.git |
| octolytics-dimension-user_id | 5448020 |
| octolytics-dimension-user_login | realpython |
| octolytics-dimension-repository_id | 18621902 |
| octolytics-dimension-repository_nwo | realpython/python-scripts |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18621902 |
| octolytics-dimension-repository_network_root_nwo | realpython/python-scripts |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 38f4d3209478aaeff3ef254f1919defede86af41 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width