{"id":2711,"date":"2020-09-03T10:10:03","date_gmt":"2020-09-03T09:10:03","guid":{"rendered":"http:\/\/www.ihaz.codes\/UoB\/?page_id=2711"},"modified":"2020-09-03T10:16:19","modified_gmt":"2020-09-03T09:16:19","slug":"updating-a-value","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/learning-python\/arrays\/updating-a-value\/","title":{"rendered":"Updating a value"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Learn<\/h1>\n\n\n\n<p>In this lesson you will learn how to update a single value within an array. The main take home point of this lesson is to always supply an index when you need to use or update a value within an array. <\/p>\n\n\n\n<figure<a href='https:\/\/www.ihaz.codes\/UoB\/learning-python\/arrays\/updating-a-value\/'>[read more]<\/a>","protected":false},"excerpt":{"rendered":"<p>Learn In this lesson you will learn how to update a single value within an array. The main take home point of this lesson is to always supply an index when you need to use or update a value within an array.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1383,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"class_list":["post-2711","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=2711"}],"version-history":[{"count":2,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2711\/revisions"}],"predecessor-version":[{"id":2713,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2711\/revisions\/2713"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/1383"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=2711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=2711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}