{"id":464,"date":"2023-02-15T16:09:40","date_gmt":"2023-02-15T16:09:40","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/?page_id=464"},"modified":"2023-02-15T16:11:29","modified_gmt":"2023-02-15T16:11:29","slug":"challenge-8","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/software-design-and-development\/week-3\/challenge-8\/","title":{"rendered":"Challenge 8"},"content":{"rendered":"\n<p>Open up your previous challenge program and save a copy of it.<\/p>\n\n\n\n<p>Write a function that prompts the user to enter a student\u2019s name and keeps prompting if they just pressed return.<\/p>\n\n\n\n<p>Store both the valid name and valid exam mark in a class.<\/p>\n\n\n\n<p>Alter your print procedure to be a class method and it should now print out the student\u2019s name, mark and comment on a single line.<\/p>\n\n\n\n<p class=\"nextlink\"><a href=\"https:\/\/blogs.glowscotland.org.uk\/es\/software\/software-design-and-development\/\" data-type=\"page\" data-id=\"12\">End of the week<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open up your previous challenge program and save a copy of it. Write a function that prompts the user to enter a student\u2019s name and keeps prompting if they just pressed return. Store both the valid name and valid exam mark in a class. Alter your print procedure to be a class method and it&hellip; <a class=\"more-link\" href=\"https:\/\/blogs.glowscotland.org.uk\/es\/software\/software-design-and-development\/week-3\/challenge-8\/\">Continue reading <span class=\"screen-reader-text\">Challenge 8<\/span><\/a><\/p>\n","protected":false},"author":5710,"featured_media":0,"parent":18,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-464","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/users\/5710"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/comments?post=464"}],"version-history":[{"count":2,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/464\/revisions"}],"predecessor-version":[{"id":467,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/464\/revisions\/467"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/pages\/18"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/es\/software\/wp-json\/wp\/v2\/media?parent=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}