{"id":359,"date":"2023-06-20T21:21:55","date_gmt":"2023-06-20T21:21:55","guid":{"rendered":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/?page_id=359"},"modified":"2023-06-20T21:27:41","modified_gmt":"2023-06-20T21:27:41","slug":"python-string-methods-manipulation","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/","title":{"rendered":"Python String Methods &#038; Manipulation"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">Concatenation<\/h2>\n<div class=\"tabcontent\">\n\n<h3>String Concatenation<\/h3>\n<p>In Python, you can concatenate strings using the <code>+<\/code> operator or by using the <code>str.join()<\/code> method. Here are examples of both methods:<\/p>\n<p><strong>Method &#8211; Using the <code>+<\/code> operator<\/strong><\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%;\">str1 <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"Hello\"<\/span>\r\nstr2 <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"World\"<\/span>\r\nresult <span style=\"color: #333333;\">=<\/span> str1 <span style=\"color: #333333;\">+<\/span> <span style=\"background-color: #fff0f0;\">\" \"<\/span> <span style=\"color: #333333;\">+<\/span> str2\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(result)  <span style=\"color: #888888;\"># Output: Hello World<\/span>\r\n<\/pre>\n<\/div>\n<p><strong>Method 2 &#8211; Using the <code>str.join()<\/code> method<\/strong><\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%;\">str1 <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"Hello\"<\/span>\r\nstr2 <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"World\"<\/span>\r\nresult <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\" \"<\/span><span style=\"color: #333333;\">.<\/span>join([str1, str2])\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(result)  <span style=\"color: #888888;\"># Output: Hello World<\/span>\r\n<\/pre>\n<\/div>\n<p><strong>Method 3 &#8211; Using f-strings (formatted string literals)<\/strong><\/p>\n<p>If you want to join multiples or mixed data types (like strings and integer) then f-strings are usually the easiest option. Otherwise you will need to use type casting with mystr = str(myint).<\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%;\">name <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"Alice\"<\/span>\r\nage <span style=\"color: #333333;\">=<\/span> <span style=\"color: #0000dd; font-weight: bold;\">25<\/span>\r\nheight <span style=\"color: #333333;\">=<\/span> <span style=\"color: #6600ee; font-weight: bold;\">1.65<\/span>\r\nmessage <span style=\"color: #333333;\">=<\/span> f<span style=\"background-color: #fff0f0;\">\"My name is {name}, I am {age} years old, and my height is {height} meters.\"<\/span>\r\n\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(message)  <span style=\"color: #888888;\"># Output: My name is Alice, I am 25 years old, and my height is 1.65 meters.<\/span>\r\n<\/pre>\n<\/div>\n\n<\/div><h2 class=\"tabtitle\">Slicing<\/h2>\n<div class=\"tabcontent\">\n\n<h3>String Slicing<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-363\" src=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-1.jpg\" alt=\"\" width=\"789\" height=\"99\" srcset=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-1.jpg 789w, https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-1-300x38.jpg 300w, https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-1-768x96.jpg 768w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/p>\n<p>In Python, string slicing allows you to extract a portion of a string by specifying a start and end index. The basic syntax for string slicing is <code>string[start:end]<\/code>.<\/p>\n<p><strong>Example<\/strong><br \/>\n<!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%;\">text <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"helloworld\"<\/span>\r\n\r\n<span style=\"color: #888888;\"># Extracting a substring from index 3 to 7 (excluding index 7)<\/span>\r\nsubstring1 <span style=\"color: #333333;\">=<\/span> text[<span style=\"color: #0000dd; font-weight: bold;\">3<\/span>:<span style=\"color: #0000dd; font-weight: bold;\">7<\/span>]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(substring1)  <span style=\"color: #888888;\"># Output: lowo<\/span>\r\n\r\n<span style=\"color: #888888;\"># Extracting a substring from index -5 to the end<\/span>\r\nsubstring2 <span style=\"color: #333333;\">=<\/span> text[<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">5<\/span>:]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(substring2)  <span style=\"color: #888888;\"># Output: world<\/span>\r\n\r\n<span style=\"color: #888888;\"># Extracting a substring from index 0 to the end with a step of 2<\/span>\r\nsubstring3 <span style=\"color: #333333;\">=<\/span> text[<span style=\"color: #0000dd; font-weight: bold;\">0<\/span>::<span style=\"color: #0000dd; font-weight: bold;\">2<\/span>]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(substring3)  <span style=\"color: #888888;\"># Output: hlool<\/span>\r\n\r\n<span style=\"color: #888888;\"># Reversing the string<\/span>\r\nreversed_text <span style=\"color: #333333;\">=<\/span> text[::<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">1<\/span>]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(reversed_text)  <span style=\"color: #888888;\"># Output: dlrowolleh<\/span>\r\n<\/pre>\n<\/div>\n\n<\/div><h2 class=\"tabtitle\">Negative Indexing<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Negative indexing<\/h3>\n<p>Negative indexing allows you to slice a string starting from the end of the string.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-361\" src=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes.jpg\" alt=\"\" width=\"789\" height=\"99\" srcset=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes.jpg 789w, https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-300x38.jpg 300w, https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-768x96.jpg 768w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/p>\n<p><!-- HTML generated using hilite.me --><\/p>\n<div style=\"background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;\">\n<pre style=\"margin: 0; line-height: 125%;\">text <span style=\"color: #333333;\">=<\/span> <span style=\"background-color: #fff0f0;\">\"helloworld\"<\/span>\r\n\r\n<span style=\"color: #888888;\"># Extracting a substring starting from the second last character to the end<\/span>\r\nsubstring1 <span style=\"color: #333333;\">=<\/span> text[<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">2<\/span>:]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(substring1)  <span style=\"color: #888888;\"># Output: ld<\/span>\r\n\r\n<span style=\"color: #888888;\"># Extracting a substring starting from the third last character to the fifth last character (excluding index -5)<\/span>\r\nsubstring2 <span style=\"color: #333333;\">=<\/span> text[<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">3<\/span>:<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">5<\/span>]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(substring2)  <span style=\"color: #888888;\"># Output: <\/span>\r\n\r\n<span style=\"color: #888888;\"># Extracting a substring starting from the beginning to the fourth last character<\/span>\r\nsubstring3 <span style=\"color: #333333;\">=<\/span> text[:<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">4<\/span>]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(substring3)  <span style=\"color: #888888;\"># Output: hellowo<\/span>\r\n\r\n<span style=\"color: #888888;\"># Reversing the string using negative step value<\/span>\r\nreversed_text <span style=\"color: #333333;\">=<\/span> text[::<span style=\"color: #333333;\">-<\/span><span style=\"color: #0000dd; font-weight: bold;\">1<\/span>]\r\n<span style=\"color: #008800; font-weight: bold;\">print<\/span>(reversed_text)  <span style=\"color: #888888;\"># Output: dlrowolleh<\/span>\r\n<\/pre>\n<\/div>\n\n<\/div><h2 class=\"tabtitle\">Methods<\/h2>\n<div class=\"tabcontent\">\n\n<h3>String Methods<\/h3>\n<p>Python provides several built-in string methods that you can use to perform various operations and manipulations on strings.<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/P6pKOPhUWf0\" width=\"900\" height=\"600\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n\n<\/div><h2 class=\"tabtitle\">Challenges<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Programming Challenges<\/h3>\n<p><strong>Challenge 1<\/strong><\/p>\n<p>Print the first three characters of a given word.<\/p>\n<p><strong>Challenge 2<\/strong><\/p>\n<p>Create a new word by concatenating the last three characters of the first word and the first three characters of the second word.<\/p>\n<p><strong>Challenge 3<\/strong><\/p>\n<p>Print the last character of a given word.<\/p>\n<p><strong>Challenge 4<\/strong><\/p>\n<p>Create a new word by reversing the order of characters in a given word.<\/p>\n<p><strong>Challenge 5<\/strong><\/p>\n<p>Extract the middle three characters from a given word.<\/p>\n<p><strong>Challenge 6<\/strong><\/p>\n<p>Create a new word by concatenating the first and last characters of a given word.<\/p>\n<p><strong>Challenge 7<\/strong><\/p>\n<p>Create a new word by concatenating the middle character and the last two characters of a given word.<\/p>\n<p><strong>Challenge 8<\/strong><\/p>\n<p>Create a new word by repeating a given word three times with a space between each repetition.<\/p>\n<p><strong>Challenge 9<\/strong><\/p>\n<p>Create a new word by repeating each character of a given word twice.<\/p>\n<p><strong>Challenge 10<\/strong><\/p>\n<p>Create a new word by concatenating the even-indexed characters and odd-indexed characters of a given word separately.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>String Concatenation In Python, you can concatenate strings using the + operator or by using the str.join() method. Here are examples of both methods: Method &#8211; Using the + operator str1 = &#8220;Hello&#8221; str2 = &#8220;World&#8221; result = str1 + &#8221; &#8221; + str2 print(result) # Output: Hello World Method 2 &#8211; Using the str.join()&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python String Methods &#038; Manipulation<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"off","neve_meta_content_width":100,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python String Methods &#038; Manipulation - Edexcel iGCSE Computer Science<\/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:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python String Methods &#038; Manipulation - Edexcel iGCSE Computer Science\" \/>\n<meta property=\"og:description\" content=\"String Concatenation In Python, you can concatenate strings using the + operator or by using the str.join() method. Here are examples of both methods: Method &#8211; Using the + operator str1 = &quot;Hello&quot; str2 = &quot;World&quot; result = str1 + &quot; &quot; + str2 print(result) # Output: Hello World Method 2 &#8211; Using the str.join()&hellip;&nbsp;Read More &raquo;Python String Methods &#038; Manipulation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/\" \/>\n<meta property=\"og:site_name\" content=\"Edexcel iGCSE Computer Science\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-20T21:27:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/\",\"url\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/\",\"name\":\"Python String Methods &#038; Manipulation - Edexcel iGCSE Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website\"},\"datePublished\":\"2023-06-20T21:21:55+00:00\",\"dateModified\":\"2023-06-20T21:27:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python String Methods &#038; Manipulation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website\",\"url\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/\",\"name\":\"Edexcel iGCSE Computer Science\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python String Methods &#038; Manipulation - Edexcel iGCSE Computer Science","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:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/","og_locale":"en_GB","og_type":"article","og_title":"Python String Methods &#038; Manipulation - Edexcel iGCSE Computer Science","og_description":"String Concatenation In Python, you can concatenate strings using the + operator or by using the str.join() method. Here are examples of both methods: Method &#8211; Using the + operator str1 = \"Hello\" str2 = \"World\" result = str1 + \" \" + str2 print(result) # Output: Hello World Method 2 &#8211; Using the str.join()&hellip;&nbsp;Read More &raquo;Python String Methods &#038; Manipulation","og_url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/","og_site_name":"Edexcel iGCSE Computer Science","article_modified_time":"2023-06-20T21:27:41+00:00","og_image":[{"url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-content\/uploads\/sites\/27\/2023\/06\/string-slicing-indexes-1.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/","url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/","name":"Python String Methods &#038; Manipulation - Edexcel iGCSE Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website"},"datePublished":"2023-06-20T21:21:55+00:00","dateModified":"2023-06-20T21:27:41+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/python-string-methods-manipulation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/"},{"@type":"ListItem","position":2,"name":"Python String Methods &#038; Manipulation"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website","url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/","name":"Edexcel iGCSE Computer Science","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"String Concatenation In Python, you can concatenate strings using the + operator or by using the str.join() method. Here are examples of both methods: Method &#8211; Using the + operator str1 = \"Hello\" str2 = \"World\" result = str1 + \" \" + str2 print(result) # Output: Hello World Method 2 &#8211; Using the str.join()&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages\/359"}],"collection":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":4,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages\/359\/revisions"}],"predecessor-version":[{"id":366,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages\/359\/revisions\/366"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/media?parent=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}