{"id":201,"date":"2023-08-06T20:44:00","date_gmt":"2023-08-06T19:44:00","guid":{"rendered":"https:\/\/noiseonthenet.space\/noise\/?p=201"},"modified":"2023-09-24T21:27:35","modified_gmt":"2023-09-24T20:27:35","slug":"python-tutorial-variables","status":"publish","type":"post","link":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/","title":{"rendered":"Python Tutorial: Variables"},"content":{"rendered":"<p> <img decoding=\"async\" src=\"https:\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash.jpg\" alt=\"raghav-bhasin-c3sMNpS2-Dg-unsplash.jpg\" \/> Photo by <a href=\"https:\/\/unsplash.com\/@myphotocave?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\">Raghav Bhasin<\/a> on <a href=\"https:\/\/unsplash.com\/photos\/c3sMNpS2-Dg?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\">Unsplash<\/a> <\/p>\n\n<p> In the previous posts we learnt how to create values by typing into the python REPL, however the computation we made were somehow &ldquo;volatile&rdquo;. <\/p>\n\n<p> Starting from this post I would suggest you to use an editor to type python code: we will execute our python files and there will be some exercise available <\/p>\n\n<script src=\"https:\/\/modularizer.github.io\/pyprez\/pyprez.min.js\"><\/script>\n\n<div id=\"outline-container-org4f2d7fa\" class=\"outline-2\">\n<h2 id=\"org4f2d7fa\">What are variables?<\/h2>\n<div class=\"outline-text-2\" id=\"text-org4f2d7fa\">\n<p> most of us learn about variables while studying basic equations; placeholders for a number. <\/p>\n\n<br\/>\n<p> In a python program a variable is a name we give to a value; a way to move values around in the program itself. <\/p>\n\n<br\/>\n<p> This is different from languages like C where a variable declaration is an instruction for the compiler to save some space in the program memory (the C programmers would say in the program &ldquo;stack&rdquo;) <\/p>\n\n<br\/>\n<p> Python is more similar to the Lisp programming language, where a value can be &ldquo;bounded&rdquo; to a name. <\/p>\n<\/div>\n<\/div>\n<div id=\"outline-container-org760c56d\" class=\"outline-2\">\n<h2 id=\"org760c56d\">Assignment and update<\/h2>\n<div class=\"outline-text-2\" id=\"text-org760c56d\">\n<p> an assignment is made with a variable name followed by the equal sign and an expression <\/p>\n\n<br\/>\n<p> Expressions can contain literals and variables too <\/p>\n\n<pyprez-editor>\nmessage = \"Houston we have a problem\"\nthe_answer = 6 * 7\nresponse = \"Apollo, we have a solution %d\" % (the_answer,)\nresponse\n<\/pyprez-editor>\n\n<p> Variable names must start with a letter and can contain letters, figures and underscore. This kind of names are called &ldquo;identifiers&rdquo;. <\/p>\n\n<br\/>\n<p> By the way &#x2013; letters are defined in the &ldquo;UNICODE&rdquo; specification so you can use also greek letters (which is a beloved feature by academics) or letters from your favorite language (if your editor help you showing them) <\/p>\n\n<pyprez-editor>\n\u03bb0 = 0.5\n\u03b4 = \u03bb0 \/ 10\n\u03b4\n<\/pyprez-editor>\n<div id=\"org5cb5c58\" class=\"figure\"> <p><img decoding=\"async\" src=\"https:\/noise\/wp-content\/uploads\/2023\/08\/greek_letters_meme.jpg\" alt=\"greek_letters_meme.jpg\" \/> <\/p> <\/div>\n\n<p> once a variable value is set, a new assignment changes the binding. <\/p>\n\n<br\/>\n<p> For those values who support sum, multiplication or subtraction the following operators can be used to update the value from the previous one <\/p>\n\n<pyprez-editor>\nthe_answer -= 13\nresponse += \"!\"\nresponse\n<\/pyprez-editor>\n<\/div>\n<\/div>\n<div id=\"outline-container-org73b5d53\" class=\"outline-2\">\n<h2 id=\"org73b5d53\">Identity and equivalence<\/h2>\n<div class=\"outline-text-2\" id=\"text-org73b5d53\">\n<p> We call two values equivalent if their content has the same meaning even if they are stored in different python objects <\/p>\n\n<br\/>\n<p> The double equal is the operator to check value equivalence, it returns a boolean <\/p>\n\n<pyprez-editor>\nthe_answer = 13\n(the_answer == 13, # True\n the_answer != 42) # True\n<\/pyprez-editor>\n\n<p> the <code>is<\/code> operator is used to check if an object is exactly the same <\/p>\n\n<pyprez-editor>\nmessage1 = [\"I don't know who I am\", 0]\nmessage2 = message1\nmessage3 = [\"I don't know who I am\", 0]\n(message1 is message2, # True\n message1 is message3) # False\n<\/pyprez-editor>\n\n<p> String literals are &ldquo;optimized&rdquo; by the compiler at compile time so that only a copy is in memory <\/p>\n<\/div>\n<\/div>\n<div id=\"outline-container-org3d198d3\" class=\"outline-2\">\n<h2 id=\"org3d198d3\">Mutability of a value<\/h2>\n<div class=\"outline-text-2\" id=\"text-org3d198d3\">\n<p> Sometime the result of an operation is a new value, i.e. a different python object. <\/p>\n\n<br\/>\n<p> Other times the same object is altered to store the new &ldquo;value content&rdquo; <\/p>\n\n<br\/>\n<p> Try this example in a python REPL (command line): Lists are &ldquo;mutable&rdquo;, i.e. the object is &ldquo;re-used&rdquo; to contain new values <\/p>\n\n<pyprez-editor>\nx = [1,2]\ny = x\nx += [3]\n(x == [1,2,3], # True\n y == [1,2,3], # True\n y is x) # True\n<\/pyprez-editor>\n\n<p> Tuples are &ldquo;immutable&rdquo;, i.e. a new value is created after each operation <\/p>\n\n<pyprez-editor>\nx = (1,2)\ny = x\nx += (3,)\n(x == (1,2,3), # True\n y == (1,2,3), # False\n y is x) # False\n<\/pyprez-editor>\n<\/div>\n<\/div>\n\n\n<div id=\"outline-container-org29b3a6a\" class=\"outline-2\">\n<h2 id=\"org29b3a6a\">Deleting a variable<\/h2>\n<div class=\"outline-text-2\" id=\"text-org29b3a6a\">\n<p> it is possible to erase a variable when it is not useful anymore <\/p>\n\n<pyprez-editor>\nthe_answer = 42\ndel the_answer\nthe_answer #this will throw an exception\n<\/pyprez-editor>\n\n<p> With the same syntax we can delete also dictionary keys&#x2026; <\/p>\n\n<pyprez-editor>\nuser_info = {\"username\": \"Marco\", \"password\": \"HAHAHAHA\"}\ndel user_info[\"password\"]\nuser_info\n<\/pyprez-editor>\n\n<p> does this coincidence sound strange to you? <\/p>\n<\/div>\n<\/div>\n<div id=\"outline-container-org7b92aea\" class=\"outline-2\">\n<h2 id=\"org7b92aea\">Yes, but what are variables actually?<\/h2>\n<div class=\"outline-text-2\" id=\"text-org7b92aea\">\n<p> what actually happens in Python is called &ldquo;binding&rdquo;. <\/p>\n\n<br\/>\n<p> This means we are &ldquo;connecting&rdquo; a name with a value. <\/p>\n\n<br\/>\n<p> What python actually does is to use some special &ldquo;dictionaries&rdquo; we call &ldquo;environments&rdquo; to actually create the connection between names (&ldquo;keys&rdquo;) and &ldquo;values&rdquo; <\/p>\n<\/div>\n<\/div>\n<div id=\"outline-container-org2be682a\" class=\"outline-2\">\n<h2 id=\"org2be682a\">Garbage collection is a noble job<\/h2>\n<div class=\"outline-text-2\" id=\"text-org2be682a\">\n<p> <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/09\/refcount.jpg?ssl=1\" alt=\"refcount.jpg\" \/> when a value is not bounded to any variable it is cleaned away from the process memory: this cleaning is called &ldquo;garbage collection&rdquo;. <\/p>\n\n<br\/>\n<p> The garbage collection also takes care to properly free resources which may be attached to the collected value (e.g. open files etc) <\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"how are values created in the source code of python, how to create basic expressions and use basic containers","protected":false},"author":1,"featured_media":214,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[7],"class_list":["post-201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-language-learning","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Tutorial: Variables - Noise On The Net<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Tutorial: Variables - Noise On The Net\" \/>\n<meta property=\"og:description\" content=\"how are values created in the source code of python, how to create basic expressions and use basic containers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/\" \/>\n<meta property=\"og:site_name\" content=\"Noise On The Net\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-06T19:44:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-24T20:27:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"marco.p.v.vezzoli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"marco.p.v.vezzoli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/\"},\"author\":{\"name\":\"marco.p.v.vezzoli\",\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/#\\\/schema\\\/person\\\/88c3a70f2b23480197bc61d6e1e2e982\"},\"headline\":\"Python Tutorial: Variables\",\"datePublished\":\"2023-08-06T19:44:00+00:00\",\"dateModified\":\"2023-09-24T20:27:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/\"},\"wordCount\":684,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/#\\\/schema\\\/person\\\/88c3a70f2b23480197bc61d6e1e2e982\"},\"image\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/noiseonthenet.space\\\/noise\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1\",\"keywords\":[\"Python\"],\"articleSection\":[\"Language learning\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/\",\"url\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/\",\"name\":\"Python Tutorial: Variables - Noise On The Net\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/noiseonthenet.space\\\/noise\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1\",\"datePublished\":\"2023-08-06T19:44:00+00:00\",\"dateModified\":\"2023-09-24T20:27:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/noiseonthenet.space\\\/noise\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/noiseonthenet.space\\\/noise\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1\",\"width\":2560,\"height\":1600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/2023\\\/08\\\/python-tutorial-variables\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Tutorial: Variables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/#website\",\"url\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/\",\"name\":\"Noise On The Net\",\"description\":\"Sharing adventures in code\",\"publisher\":{\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/#\\\/schema\\\/person\\\/88c3a70f2b23480197bc61d6e1e2e982\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/#\\\/schema\\\/person\\\/88c3a70f2b23480197bc61d6e1e2e982\",\"name\":\"marco.p.v.vezzoli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g\",\"caption\":\"marco.p.v.vezzoli\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g\"},\"description\":\"Self taught assembler programming at 11 on my C64 (1983). Never stopped since then -- always looking up for curious things in the software development, data science and AI. Linux and FOSS user since 1994. MSc in physics in 1996. Working in large semiconductor companies since 1997 (STM, Micron) developing analytics and full stack web infrastructures, microservices, ML solutions\",\"sameAs\":[\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/marco-paolo-valerio-vezzoli-0663835\\\/\"],\"url\":\"https:\\\/\\\/noiseonthenet.space\\\/noise\\\/author\\\/marco-p-v-vezzoli\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Tutorial: Variables - Noise On The Net","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/","og_locale":"en_US","og_type":"article","og_title":"Python Tutorial: Variables - Noise On The Net","og_description":"how are values created in the source code of python, how to create basic expressions and use basic containers","og_url":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/","og_site_name":"Noise On The Net","article_published_time":"2023-08-06T19:44:00+00:00","article_modified_time":"2023-09-24T20:27:35+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1","type":"image\/jpeg"}],"author":"marco.p.v.vezzoli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"marco.p.v.vezzoli","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#article","isPartOf":{"@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/"},"author":{"name":"marco.p.v.vezzoli","@id":"https:\/\/noiseonthenet.space\/noise\/#\/schema\/person\/88c3a70f2b23480197bc61d6e1e2e982"},"headline":"Python Tutorial: Variables","datePublished":"2023-08-06T19:44:00+00:00","dateModified":"2023-09-24T20:27:35+00:00","mainEntityOfPage":{"@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/"},"wordCount":684,"commentCount":0,"publisher":{"@id":"https:\/\/noiseonthenet.space\/noise\/#\/schema\/person\/88c3a70f2b23480197bc61d6e1e2e982"},"image":{"@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1","keywords":["Python"],"articleSection":["Language learning"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/","url":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/","name":"Python Tutorial: Variables - Noise On The Net","isPartOf":{"@id":"https:\/\/noiseonthenet.space\/noise\/#website"},"primaryImageOfPage":{"@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#primaryimage"},"image":{"@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1","datePublished":"2023-08-06T19:44:00+00:00","dateModified":"2023-09-24T20:27:35+00:00","breadcrumb":{"@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#primaryimage","url":"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1","contentUrl":"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1","width":2560,"height":1600},{"@type":"BreadcrumbList","@id":"https:\/\/noiseonthenet.space\/noise\/2023\/08\/python-tutorial-variables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/noiseonthenet.space\/noise\/"},{"@type":"ListItem","position":2,"name":"Python Tutorial: Variables"}]},{"@type":"WebSite","@id":"https:\/\/noiseonthenet.space\/noise\/#website","url":"https:\/\/noiseonthenet.space\/noise\/","name":"Noise On The Net","description":"Sharing adventures in code","publisher":{"@id":"https:\/\/noiseonthenet.space\/noise\/#\/schema\/person\/88c3a70f2b23480197bc61d6e1e2e982"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/noiseonthenet.space\/noise\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/noiseonthenet.space\/noise\/#\/schema\/person\/88c3a70f2b23480197bc61d6e1e2e982","name":"marco.p.v.vezzoli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g","caption":"marco.p.v.vezzoli"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/b9d9aab1df560bc14d73b0b442198f196ce39e7c7a38df1dc22fec0b97f17da9?s=96&d=mm&r=g"},"description":"Self taught assembler programming at 11 on my C64 (1983). Never stopped since then -- always looking up for curious things in the software development, data science and AI. Linux and FOSS user since 1994. MSc in physics in 1996. Working in large semiconductor companies since 1997 (STM, Micron) developing analytics and full stack web infrastructures, microservices, ML solutions","sameAs":["https:\/\/noiseonthenet.space\/noise\/","https:\/\/www.linkedin.com\/in\/marco-paolo-valerio-vezzoli-0663835\/"],"url":"https:\/\/noiseonthenet.space\/noise\/author\/marco-p-v-vezzoli\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/noiseonthenet.space\/noise\/wp-content\/uploads\/2023\/08\/raghav-bhasin-c3sMNpS2-Dg-unsplash-scaled.jpg?fit=2560%2C1600&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pdDUZ5-3f","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":5,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/posts\/201\/revisions\/262"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/media\/214"}],"wp:attachment":[{"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/noiseonthenet.space\/noise\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}