{"id":38,"date":"2024-09-26T13:07:52","date_gmt":"2024-09-26T17:07:52","guid":{"rendered":"https:\/\/wp.stgeorges.bc.ca\/noahl\/?p=38"},"modified":"2024-10-07T12:03:38","modified_gmt":"2024-10-07T16:03:38","slug":"python-project-unit-converter","status":"publish","type":"post","link":"https:\/\/wp.stgeorges.bc.ca\/noahl\/2024\/09\/26\/python-project-unit-converter\/","title":{"rendered":"Python Project &#8211; \nUnit Converter"},"content":{"rendered":"<h1 class=\"wp-block-post-title\">Python Project &#8211; \nUnit Converter<\/h1>\n\n\n<p class=\"has-text-align-left\">For my first Fusion project, I used Python to make a basic unit converter, taking metric or imperial units and converting them to the other one. This project required various skills in Python, as described below, like taking inputs from users and converting them into different values for the output. The user interface is relatively simple, asking the user for the letter corresponding to the unit they want to convert, then input the value to be converted.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"623\" src=\"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-09-17-at-9.27.07\u202fAM-1024x623.png\" alt=\"\" class=\"wp-image-27\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-09-17-at-9.27.07\u202fAM-1024x623.png 1024w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-09-17-at-9.27.07\u202fAM-300x182.png 300w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-09-17-at-9.27.07\u202fAM-768x467.png 768w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-09-17-at-9.27.07\u202fAM.png 1118w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-style-plain has-contrast-color has-text-color has-link-color has-large-font-size wp-elements-3969af0d94c08533bf3a0eaada7717d5 is-layout-flow wp-container-core-quote-is-layout-8a368f38 wp-block-quote-is-layout-flow is-style-plain--1\">\n<ul class=\"wp-block-list\">\n<li>Code: <a href=\"https:\/\/pastebin.com\/qPebmYnY\">Here<\/a><\/li>\n\n\n\n<li>Access the Project: <a href=\"https:\/\/replit.com\/@NoahLam2\/Basic-Unit-Converter-Fusion\">Here<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-left\"><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading alignwide has-text-align-center\">Python Elements Used<\/h2>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\n<ul class=\"wp-block-list\">\n<li>Taking input from the user<\/li>\n\n\n\n<li>Defining multiple variables<\/li>\n\n\n\n<li>Changing variable values through conversion<\/li>\n\n\n\n<li>Outputting converted value to user with different units<\/li>\n\n\n\n<li>Defining Function<\/li>\n<\/ul>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"1024\" src=\"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-10-07-at-9.03.05\u202fAM-457x1024.png\" alt=\"\" class=\"wp-image-63\" srcset=\"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-10-07-at-9.03.05\u202fAM-457x1024.png 457w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-10-07-at-9.03.05\u202fAM-134x300.png 134w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-10-07-at-9.03.05\u202fAM-768x1722.png 768w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-10-07-at-9.03.05\u202fAM-685x1536.png 685w, https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-content\/uploads\/sites\/13\/2024\/09\/Screenshot-2024-10-07-at-9.03.05\u202fAM.png 860w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>For my first Fusion project, I used Python to make a basic unit converter, taking metric or imperial units and converting them to the other one. This project required various skills in Python, as described below, like taking inputs from users and converting them into different values for the output. The user interface is relatively [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":10,"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":65,"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/posts\/38\/revisions\/65"}],"wp:attachment":[{"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.stgeorges.bc.ca\/noahl\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}