{"id":4287,"date":"2022-03-09T17:54:02","date_gmt":"2022-03-09T17:54:02","guid":{"rendered":"https:\/\/ibex.tech\/python\/?p=4287"},"modified":"2022-03-09T17:54:03","modified_gmt":"2022-03-09T17:54:03","slug":"range","status":"publish","type":"post","link":"https:\/\/ibex.tech\/python\/maths-python\/range","title":{"rendered":"Range"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>range(x,y)   #Generate a list of values between x and y-1 (including x and excluding y)<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">For loop using a Range<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>for index in range(6):    #Loop 6 times, from value 0 to 5\n  #Next index\n  print(\"Loop # \" + str(index))<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>For loop using a Range<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[321],"tags":[],"class_list":["post-4287","post","type-post","status-publish","format-standard","hentry","category-maths-python"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/comments?post=4287"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4287\/revisions"}],"predecessor-version":[{"id":4288,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4287\/revisions\/4288"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/media?parent=4287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/categories?post=4287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/tags?post=4287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}