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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:88d3ab37-0c26-d8b6-4bfa-a15df1d0cbdc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 876E:2105AF:1702EAC:1EDF5D2:696EAEE9 |
| html-safe-nonce | 08fe0d85a3a8f5b8607ab693499725dd08af34bd8970de976bdb5ca0d83d5f24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzZFOjIxMDVBRjoxNzAyRUFDOjFFREY1RDI6Njk2RUFFRTkiLCJ2aXNpdG9yX2lkIjoiNjI4MzA3MjA3OTU3ODE4MTM1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c4c608e8cac84f3e8707db6527d86f86dfb3114984ebffd843292135deb97383 |
| 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/realpython/python-scripts/pull/9/files |
| twitter:image | https://avatars.githubusercontent.com/u/10804686?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10804686?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width