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: togithub.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:7a5e62c7-5766-b4f0-b75d-bdbf7ecb60dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C54:1069C6:D22789:119D077:69698A4B |
| html-safe-nonce | 6c723b82747af56481628ec429fc25ec7414dc70c909c469ffe19578f97cd257 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzU0OjEwNjlDNjpEMjI3ODk6MTE5RDA3Nzo2OTY5OEE0QiIsInZpc2l0b3JfaWQiOiI1Nzg3MDI3MTA4MDU4OTkxMTc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7008b35fe4fa11cb8b2a060fe92a9fcc3f0c9b2affa5a19ff303ac9d4b1189c6 |
| 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 | 533e7cac596c452090972c1150d587fd0b36531b8dc4e8bbfe4ab694aca02408 |
| 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 | 63d27af10eea2ccab520b162530cf6c7b739e767 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width