Title: calculating the shipping order · Issue #12 · GeekTrainer/Introduction-Programming-Python · GitHub
Open Graph Title: calculating the shipping order · Issue #12 · GeekTrainer/Introduction-Programming-Python
X Title: calculating the shipping order · Issue #12 · GeekTrainer/Introduction-Programming-Python
Description: I decided to add Boolean variable to this code of solving it and whenever I ran my code I get additional $1 added if the total shipping order exceeds or equals $50. Why? This is the code: Program to calculate a shipping order and give a ...
Open Graph Description: I decided to add Boolean variable to this code of solving it and whenever I ran my code I get additional $1 added if the total shipping order exceeds or equals $50. Why? This is the code: Program t...
X Description: I decided to add Boolean variable to this code of solving it and whenever I ran my code I get additional $1 added if the total shipping order exceeds or equals $50. Why? This is the code: Program t...
Opengraph URL: https://github.com/GeekTrainer/Introduction-Programming-Python/issues/12
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"calculating the shipping order","articleBody":"I decided to add Boolean variable to this code of solving it and whenever I ran my code I get additional $1 added if the total shipping order exceeds or equals $50. Why?\r\nThis is the code:\r\n\r\n# Program to calculate a shipping order and give a tip of free shipping if order exceeds $50 else $10 fee\r\nshippingFee = False\r\nsumTotal = 0\r\n\r\n\r\norderTotal = float(input(\"Enter the total amount of order \"))\r\nif orderTotal \u003e= 50:\r\n shippingFee = True\r\n print(\"Shipping is free\")\r\n\r\nelse:\r\n shippingFee = 10\r\n print(\"Shipping fee will cost additional $10\")\r\n\r\nsumTotal = orderTotal + shippingFee\r\n\r\nprint(\"Your total shipping fee with order is $%2f\" % sumTotal)\r\nprint(\"Your total shipping fee with order is $\" + str(sumTotal))","author":{"url":"https://github.com/mcbrighty","@type":"Person","name":"mcbrighty"},"datePublished":"2020-08-22T08:21:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/12/Introduction-Programming-Python/issues/12"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c0268bdf-b19c-ff3f-48b2-a73a96438158 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A70A:231E3E:1CD23AC:26CE120:696EBBBD |
| html-safe-nonce | 6a7272a5ade5b295404f97a28798cb935fb617a2ba65f7c4c718818a89ca3fde |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzBBOjIzMUUzRToxQ0QyM0FDOjI2Q0UxMjA6Njk2RUJCQkQiLCJ2aXNpdG9yX2lkIjoiMTE4OTk1NDg3MDQ3NTQwNjI2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45b79f1df6509cd1ca22b85c0831dd0e1c58b311e0def31531855885d987cbe3 |
| hovercard-subject-tag | issue:683955877 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/GeekTrainer/Introduction-Programming-Python/12/issue_layout |
| twitter:image | https://opengraph.githubassets.com/042df5a806b045f7b3debc0201fa2ecd59dbc11e1d2b53d120c76e340d68ae52/GeekTrainer/Introduction-Programming-Python/issues/12 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/042df5a806b045f7b3debc0201fa2ecd59dbc11e1d2b53d120c76e340d68ae52/GeekTrainer/Introduction-Programming-Python/issues/12 |
| og:image:alt | I decided to add Boolean variable to this code of solving it and whenever I ran my code I get additional $1 added if the total shipping order exceeds or equals $50. Why? This is the code: Program t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mcbrighty |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/GeekTrainer/Introduction-Programming-Python git https://github.com/GeekTrainer/Introduction-Programming-Python.git |
| octolytics-dimension-user_id | 6109729 |
| octolytics-dimension-user_login | GeekTrainer |
| octolytics-dimension-repository_id | 24336654 |
| octolytics-dimension-repository_nwo | GeekTrainer/Introduction-Programming-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24336654 |
| octolytics-dimension-repository_network_root_nwo | GeekTrainer/Introduction-Programming-Python |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width