{"id":41,"date":"2024-11-01T15:04:57","date_gmt":"2024-11-01T15:04:57","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/d_eanes\/?p=41"},"modified":"2024-11-01T15:04:57","modified_gmt":"2024-11-01T15:04:57","slug":"quiz-game","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/d_eanes\/2024\/11\/01\/quiz-game\/","title":{"rendered":"Quiz Game"},"content":{"rendered":"\n<p>The project I worked on today was a quiz game. This program uses Python, and asks the user a set of questions. Depending on the answer, the program will either output, \u201cWrong! The correct answer was __\u201d or \u201cCorrect!\u201d Once the user answers the final question, the program will output their score. This program taught me how to use the .upper() function.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"207\" src=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-095907.png\" alt=\"\" class=\"wp-image-42\" style=\"width:553px;height:auto\" srcset=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-095907.png 553w, https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-095907-300x112.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"271\" height=\"130\" src=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-100840.png\" alt=\"\" class=\"wp-image-43\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"338\" height=\"129\" src=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-100919.png\" alt=\"\" class=\"wp-image-44\" srcset=\"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-100919.png 338w, https:\/\/theroyalscode.com\/students\/d_eanes\/wp-content\/uploads\/2024\/11\/Screenshot-2024-10-25-100919-300x114.png 300w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The project I worked on today was a quiz game. This program uses Python, and asks the user a set of questions. Depending on the answer, the program will either output, \u201cWrong! The correct answer was __\u201d or \u201cCorrect!\u201d Once the user answers the final question, the program will output their score. This program taught&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-free-friday"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/posts\/41\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/d_eanes\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}