{"id":120952,"date":"2023-04-20T15:40:15","date_gmt":"2023-04-20T15:40:15","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/python-homework-help-information-systems-homework-help\/"},"modified":"2023-04-20T15:40:15","modified_gmt":"2023-04-20T15:40:15","slug":"python-homework-help-information-systems-homework-help","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/python-homework-help-information-systems-homework-help\/","title":{"rendered":"Python homework help | Information Systems homework help"},"content":{"rendered":"<div>\n<p>Reviewing other developer\u2019s work is essential. Reviewing the work of others makes both the reviewer and the reviewee better developers by allowing you to see how others might solve the same problem. It also ensures that standards are adhered to and offer the potential to catch logic errors that would otherwise end up in production.\u00a0 Peer code reviews are typically done by a pull request.\u00a0 The following video will outline how this is done and provide some helpful advice on completing your homework for this week.\u00a0 Please make sure you are following the steps outlined in this video.<\/p>\n<p>https:\/\/bellevue.mediaspace.kaltura.com\/media\/Code+Review+and+Pull+Request\/1_uegwl6fu<\/p>\n<p># This is a header for the application<br \/># You should read this header and insert your name and your date below as part of the peer review<br \/># This is a typical part of any program<br \/># Author: &lt;author&gt;<br \/># Creation Date: &lt;date&gt;<br \/># Below is a simple program with several. \u00a0You need to identify the issues and correct them.<\/p>\n<p>import random<br \/>import time<\/p>\n<p>def displayIntro():<br \/>print(&#8221;&#8217;You are in a land full of dragons. In front of you,<br \/>you see two caves. In one cave, the dragon is friendly<br \/>and will share his treasure with you. The other dragon<br \/>is greedy and hungry, and will eat you on sight.&#8221;&#8217;)<br \/>print()<\/p>\n<p>def chooseCave():<br \/>\u00a0\u00a0\u00a0cave=&#8221;&#8221;<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0while cave != &#8216;1&#8217; and cave != &#8216;2&#8217;:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8216;Which cave will you go into? (1 or 2)&#8217;)<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0cave = input()<\/p>\n<p>\u00a0\u00a0\u00a0return caves<\/p>\n<p>def checkCave(chosenCave):<br \/>\u00a0\u00a0\u00a0print(&#8216;You approach the cave&#8230;&#8217;)<br \/>\u00a0\u00a0\u00a0#sleep for 2 seconds<br \/>\u00a0\u00a0\u00a0time.sleep(2)<br \/>\u00a0\u00a0\u00a0print(&#8216;It is dark and spooky&#8230;&#8217;)<br \/>\u00a0\u00a0\u00a0#sleep for 2 seconds<br \/>\u00a0\u00a0\u00a0time.sleep(3)<br \/>\u00a0\u00a0\u00a0print(&#8216;A large dragon jumps out in front of you! He opens his jaws and&#8230;&#8217;)<br \/>\u00a0\u00a0\u00a0print()<br \/>\u00a0\u00a0\u00a0#sleep for 2 seconds<br \/>\u00a0\u00a0\u00a0time.sleep(2)<br \/>\u00a0\u00a0\u00a0friendlyCave = random.randint(1, 2)<\/p>\n<p>\u00a0\u00a0\u00a0if chosenCave == str(friendlyCave):<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print(&#8216;Gives you his treasure!&#8217;)<br \/>\u00a0\u00a0\u00a0else:<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0print &#8216;Gobbles you down in one bite!&#8217;<\/p>\n<p>displayIntro()<br \/>caveNumber = choosecave()<br \/>checkCave(caveNumber)<br \/>\u00a0\u00a0\u00a0<br \/>print(&#8220;Thanks for planing&#8221;)<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Reviewing other developer\u2019s work is essential. Reviewing the work of others makes both the reviewer and the reviewee better developers by allowing you to see how others might solve the same problem. It also ensures that standards are adhered to and offer the potential to catch logic errors that would otherwise end up in production.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-120952","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/120952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=120952"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/120952\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=120952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=120952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=120952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}