{"id":2899,"date":"2022-06-16T16:46:30","date_gmt":"2022-06-16T15:46:30","guid":{"rendered":"https:\/\/hub.salford.ac.uk\/psytech\/?page_id=2899"},"modified":"2022-06-28T10:09:43","modified_gmt":"2022-06-28T09:09:43","slug":"variables-data-types-python","status":"publish","type":"page","link":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/","title":{"rendered":"Variables &amp; Data Types &#8211; Python"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-1024x1024.png\" alt=\"\" class=\"wp-image-2880\" width=\"247\" height=\"247\" srcset=\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-1024x1024.png 1024w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-300x300.png 300w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-150x150.png 150w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-768x768.png 768w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11.png 1200w\" sizes=\"auto, (max-width: 247px) 100vw, 247px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Variables<\/h3>\n\n\n\n<p>Think of a variable as a container to hold information. You can have different variables that hold different types of information.  We are going to cover 4 basic data types which are: Integer, Float, String &amp; Boolean.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Data types <\/h3>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-table aligncenter is-style-stripes has-medium-font-size\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\"><strong>Data Type<\/strong><\/th><th class=\"has-text-align-left\" data-align=\"left\"><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">Integer (int)<\/td><td class=\"has-text-align-left\" data-align=\"left\">Any whole number. i.e. 3<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Float<\/td><td class=\"has-text-align-left\" data-align=\"left\">Any number including decimals i.e. 3.0, 12.7<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">String (str)<\/td><td class=\"has-text-align-left\" data-align=\"left\">Any text, declared by being wrapped in quotation marks i.e. &#8220;Hello!&#8221;<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Boolean (bool)<\/td><td class=\"has-text-align-left\" data-align=\"left\">Only has two possible values, true or false.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Practical<\/h3>\n\n\n\n<p>To assign a data type to a variable we use the equal sign = operator. For example, see below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Let's say I wanted to save my name which is Paige, into a variable \n# called my_name. It would look like the following\n\nmy_name = \"Paige\"\n\n#Note how we use the quotation marks around Paige. This is to ensure \n#that Paige is interpreted as a string.\n\n# You may have two other questions...\n# First, what's with the use of the hashtag. hashtags tell the interpretor\n# that these are comments for the human, therefore don't execute this!\n\"\"\"\nIf you'd like to write multiple lines of comments you can use three \nquotation marks in a row at the start and end of your comment.\n\"\"\"\n\n# The second question you may have is, why did we name the variable \n# as my_name, what's with the lower case and underscore?\n# This is about style. For variables, the PEP 8 guidelines suggest\n# variable names should be lowercase, with words separated by underscores \n# as necessary to improve readability. Commonly, this is referred to as \n# snake_case\n<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<p>So I have my name in the variable my_name created and it&#8217;s storing &#8220;Paige&#8221;. Now we want it to display the name. To do this we must use the print() function. A function is something that performs a specific task. We will be getting well acquainted with functions later on. For now, just know you call a function by saying its name followed by opening and closing parentheses.<\/p>\n\n\n\n<p>Copy the code below and try it for yourself in Spyder! Feel free to replace Paige with your name.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>my_name = \"Paige\"\nprint(my_name)<\/code><\/pre>\n\n\n\n<p>What if we want to print &#8220;Hello Paige!&#8221; instead? Take a look at the code below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>my_name = \"Paige\"\nprint(\"Hello \" , my_name , \"!\")<\/code><\/pre>\n\n\n\n<p>We are using the comma to add the word &#8220;Hello&#8221; and an exclamation point to what is printed.<\/p>\n\n\n\n<p>Now imagine if we someone to input their own name. We could make sure of the input() function. The input() function takes whatever is written in the console and stores that in a variable. The user has to type their name and then press enter. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>my_name = input()\nprint(\"Hello \" , my_name , \"!\")<\/code><\/pre>\n\n\n\n<p>If you run the above code, you may find it strange that the program doesn&#8217;t prompt you to type your name. Go ahead and add that now. <em>Hint! Python executes codes sequentially from top to bottom!<\/em><\/p>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h3 id=\"at-28990\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Click to reveal \u2193<\/h3><div id=\"ac-28990\" class=\"c-accordion__content\">\n<pre class=\"wp-block-code\"><code>print(\"Type your name here, followed by the enter button:\")\nmy_name = input()\nprint(\"Hello \" , my_name , \"!\")<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<p>So far we&#8217;ve been working with string data types. Let&#8217;s work with numbers. Can you use what you&#8217;ve learned so far to create two variables in which the value is inputted by the user and then add those values together? <\/p>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h3 id=\"at-28991\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Click to reveal \u2193<\/h3><div id=\"ac-28991\" class=\"c-accordion__content\">\n<p>You may have some code similar to the below and are frustrated that if the numbers 5 and 6 are inputted that you&#8217;re getting returned 56 and not 11! <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>print(\"Enter a number here using the number pad:\")\nnumber_one = input()\n\nprint(\"Enter another number here using the number pad:\")\nnumber_two = input()\n\nprint(\"Your numbers when added together come to:\" , number_one + number_two)<\/code><\/pre>\n\n\n\n<p>Why is this? This is because the input is recording the numbers entered as strings, not integers or floats. What we need to do is declare the input as either an integer or float, depending on if we want whole numbers or decimals. We can do this using the int() or float() function which converts information inside of the parentheses into the corresponding data type. Let&#8217;s try this again with the code below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>print(\"Enter a number here using the number pad:\")\nnumber_one = int(input())\n\nprint(\"Enter another number here using the number pad:\")\nnumber_two = int(input())\n\nprint(\"Your numbers when added together come to:\", number_one + number_two)<\/code><\/pre>\n\n\n\n<p>Ta-da! When we add together 5 and 6 we should now receive the answer 11!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Section Challenge<\/h3>\n\n\n\n<p>To end this section, I&#8217;d like you to write some code that takes the input of three numbers and averages them. <em>Hint! Python uses mathematical operators<\/em> <em>such as + for addition and \/ for division. Python also follows the same order of operations as in maths<\/em>.<\/p>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"false\" data-scroll-offset=\"0\"><h3 id=\"at-28992\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Click to reveal \u2193<\/h3><div id=\"ac-28992\" class=\"c-accordion__content\">\n<p>When programing there are many ways to achieve the same answer, don&#8217;t worry if your answer is different from mine!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>print(\"Enter a number here using the number pad:\")\nnumber_one = int(input())\n\nprint(\"Enter another number here using the number pad:\")\nnumber_two = int(input())\n\nprint(\"Enter your final number here using the number pad:\")\nnumber_three = int(input())\n\nprint(\"Your numbers when averaged together come to:\", (number_one + number_two + number_three)\/3)\n<\/code><\/pre>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:17% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-683x1024.jpg\" alt=\"\" class=\"wp-image-3201 size-full\" srcset=\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-683x1024.jpg 683w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-200x300.jpg 200w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-768x1152.jpg 768w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-1024x1536.jpg 1024w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-1365x2048.jpg 1365w, https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/08\/aaaPaige-Metcalf-scaled.jpg 1707w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h4 class=\"has-text-align-left has-large-font-size wp-block-heading\">Course Author<\/h4>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<p style=\"font-style:italic;font-weight:500\">Paige Metcalfe<br>c.p.metcalfe@salford.ac.uk<\/p>\n<\/div><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Variables Think of a variable as a container to hold information. You can have different variables that hold different types of information. We are going to cover 4 basic data types which are: Integer, Float, String &amp; Boolean. Data types Data Type Description Integer (int) Any whole number. i.e. 3 Float Any number including decimals [&hellip;]<\/p>\n","protected":false},"author":177,"featured_media":0,"parent":2877,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-2899","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Variables &amp; Data Types - Python - Salford PsyTech Home \u2192\u2302<\/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:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Variables &amp; Data Types - Python - Salford PsyTech Home \u2192\u2302\" \/>\n<meta property=\"og:description\" content=\"Variables Think of a variable as a container to hold information. You can have different variables that hold different types of information. We are going to cover 4 basic data types which are: Integer, Float, String &amp; Boolean. Data types Data Type Description Integer (int) Any whole number. i.e. 3 Float Any number including decimals [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Salford PsyTech Home \u2192\u2302\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-28T09:09:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-1024x1024.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/\",\"url\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/\",\"name\":\"Variables &amp; Data Types - Python - Salford PsyTech Home \u2192\u2302\",\"isPartOf\":{\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-1024x1024.png\",\"datePublished\":\"2022-06-16T15:46:30+00:00\",\"dateModified\":\"2022-06-28T09:09:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#primaryimage\",\"url\":\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11.png\",\"contentUrl\":\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11.png\",\"width\":1200,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hub.salford.ac.uk\/psytech\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/hub.salford.ac.uk\/psytech\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Variables &amp; Data Types &#8211; Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/#website\",\"url\":\"https:\/\/hub.salford.ac.uk\/psytech\/\",\"name\":\"Salford PsyTech Home\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hub.salford.ac.uk\/psytech\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/#organization\",\"name\":\"Salford PsyTech Home\",\"url\":\"https:\/\/hub.salford.ac.uk\/psytech\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2025\/02\/university-salford-logo-400x250-1.png\",\"contentUrl\":\"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2025\/02\/university-salford-logo-400x250-1.png\",\"width\":400,\"height\":250,\"caption\":\"Salford PsyTech Home\"},\"image\":{\"@id\":\"https:\/\/hub.salford.ac.uk\/psytech\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Variables &amp; Data Types - Python - Salford PsyTech Home \u2192\u2302","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:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/","og_locale":"en_US","og_type":"article","og_title":"Variables &amp; Data Types - Python - Salford PsyTech Home \u2192\u2302","og_description":"Variables Think of a variable as a container to hold information. You can have different variables that hold different types of information. We are going to cover 4 basic data types which are: Integer, Float, String &amp; Boolean. Data types Data Type Description Integer (int) Any whole number. i.e. 3 Float Any number including decimals [&hellip;]","og_url":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/","og_site_name":"Salford PsyTech Home \u2192\u2302","article_modified_time":"2022-06-28T09:09:43+00:00","og_image":[{"url":"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-1024x1024.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/","url":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/","name":"Variables &amp; Data Types - Python - Salford PsyTech Home \u2192\u2302","isPartOf":{"@id":"https:\/\/hub.salford.ac.uk\/psytech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#primaryimage"},"image":{"@id":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#primaryimage"},"thumbnailUrl":"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11-1024x1024.png","datePublished":"2022-06-16T15:46:30+00:00","dateModified":"2022-06-28T09:09:43+00:00","breadcrumb":{"@id":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#primaryimage","url":"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11.png","contentUrl":"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2022\/06\/image-11.png","width":1200,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/hub.salford.ac.uk\/psytech\/python\/variables-data-types-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hub.salford.ac.uk\/psytech\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/hub.salford.ac.uk\/psytech\/python\/"},{"@type":"ListItem","position":3,"name":"Variables &amp; Data Types &#8211; Python"}]},{"@type":"WebSite","@id":"https:\/\/hub.salford.ac.uk\/psytech\/#website","url":"https:\/\/hub.salford.ac.uk\/psytech\/","name":"Salford PsyTech Home","description":"","publisher":{"@id":"https:\/\/hub.salford.ac.uk\/psytech\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hub.salford.ac.uk\/psytech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hub.salford.ac.uk\/psytech\/#organization","name":"Salford PsyTech Home","url":"https:\/\/hub.salford.ac.uk\/psytech\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hub.salford.ac.uk\/psytech\/#\/schema\/logo\/image\/","url":"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2025\/02\/university-salford-logo-400x250-1.png","contentUrl":"https:\/\/hub.salford.ac.uk\/psytech\/wp-content\/uploads\/sites\/95\/2025\/02\/university-salford-logo-400x250-1.png","width":400,"height":250,"caption":"Salford PsyTech Home"},"image":{"@id":"https:\/\/hub.salford.ac.uk\/psytech\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/pages\/2899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/users\/177"}],"replies":[{"embeddable":true,"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/comments?post=2899"}],"version-history":[{"count":19,"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/pages\/2899\/revisions"}],"predecessor-version":[{"id":3474,"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/pages\/2899\/revisions\/3474"}],"up":[{"embeddable":true,"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/pages\/2877"}],"wp:attachment":[{"href":"https:\/\/hub.salford.ac.uk\/psytech\/wp-json\/wp\/v2\/media?parent=2899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}