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: github.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:d1696244-a7ea-91f1-2439-92546c94f514 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD82:3A79C:3CA45:51546:69693C6B |
| html-safe-nonce | 179fb57b50f0b106392d102be3562478a7cc03f1bd455999bce30e677da86eda |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDgyOjNBNzlDOjNDQTQ1OjUxNTQ2OjY5NjkzQzZCIiwidmlzaXRvcl9pZCI6IjM2NjAzMzU4NzM0ODAyNzcwOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c1bc1c9312f6563706a7638bfea156bedff549d3635f5aff1285dda54098e158 |
| 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 | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width