Title: Remove redundant comparison in 32_stonks.py by owljacob · Pull Request #123 · codedex-io/python-101 · GitHub
Open Graph Title: Remove redundant comparison in 32_stonks.py by owljacob · Pull Request #123 · codedex-io/python-101
X Title: Remove redundant comparison in 32_stonks.py by owljacob · Pull Request #123 · codedex-io/python-101
Description: The Legend of Python 🐍. Contribute to codedex-io/python-101 development by creating an account on GitHub.
Open Graph Description: The code for min_price can be improved by removing redundant comparison. def min_price(a, b): mn = price_at(a) for i in range(a, b + 1): mn = min(mn, price_at(i)) return mn mn is initial...
X Description: The code for min_price can be improved by removing redundant comparison. def min_price(a, b): mn = price_at(a) for i in range(a, b + 1): mn = min(mn, price_at(i)) return mn mn is initial...
Opengraph URL: https://github.com/codedex-io/python-101/pull/123
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:3e0653c4-6d31-016b-156f-7492f8502e67 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4C2:19A3BF:444894:607467:6A6239B4 |
| html-safe-nonce | c16f4ddf0035a86fc9d9db4b69f30323b3064d5030d037a24313047abbbd916c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEMyOjE5QTNCRjo0NDQ4OTQ6NjA3NDY3OjZBNjIzOUI0IiwidmlzaXRvcl9pZCI6IjM3OTg1NDI0OTU0MjE3MTA2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a4000cec05ca136f1cc3b89fc544a8e6a80ce521294f22bd92780904d234926f |
| hovercard-subject-tag | pull_request:2595626933 |
| 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/codedex-io/python-101/123/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d4e6550ae5162d77a510bbcdfb2c56925053b6b5d84ccb7de74d4706869e2c30/codedex-io/python-101/pull/123 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4e6550ae5162d77a510bbcdfb2c56925053b6b5d84ccb7de74d4706869e2c30/codedex-io/python-101/pull/123 |
| og:image:alt | The code for min_price can be improved by removing redundant comparison. def min_price(a, b): mn = price_at(a) for i in range(a, b + 1): mn = min(mn, price_at(i)) return mn mn is initial... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | owljacob |
| hostname | github.com |
| expected-hostname | github.com |
| None | 81a21eb42fd0e80f3094d5be0f523bc284f5792af0333a266ecada0c39501f0f |
| turbo-cache-control | no-cache |
| go-import | github.com/codedex-io/python-101 git https://github.com/codedex-io/python-101.git |
| octolytics-dimension-user_id | 105237839 |
| octolytics-dimension-user_login | codedex-io |
| octolytics-dimension-repository_id | 490877588 |
| octolytics-dimension-repository_nwo | codedex-io/python-101 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 490877588 |
| octolytics-dimension-repository_network_root_nwo | codedex-io/python-101 |
| 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 | 76f36d3a9c09a237d489d4eeeaf6db0b604da73f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width