The writer is very fast, professional and responded to the review request fast also. Thank you.
Reviewing other developer’s 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. Peer code reviews are typically done by a pull request. The following video will outline how this is done and provide some helpful advice on completing your homework for this week. Please make sure you are following the steps outlined in this video.
https://bellevue.mediaspace.kaltura.com/media/Code+Review+and+Pull+Request/1_uegwl6fu
# This is a header for the application
# You should read this header and insert your name and your date below as part of the peer review
# This is a typical part of any program
# Author: <author>
# Creation Date: <date>
# Below is a simple program with several. You need to identify the issues and correct them.
import random
import time
def displayIntro():
print(”’You are in a land full of dragons. In front of you,
you see two caves. In one cave, the dragon is friendly
and will share his treasure with you. The other dragon
is greedy and hungry, and will eat you on sight.”’)
print()
def chooseCave():
cave=””
while cave != ‘1’ and cave != ‘2’:
print(‘Which cave will you go into? (1 or 2)’)
cave = input()
return caves
def checkCave(chosenCave):
print(‘You approach the cave…’)
#sleep for 2 seconds
time.sleep(2)
print(‘It is dark and spooky…’)
#sleep for 2 seconds
time.sleep(3)
print(‘A large dragon jumps out in front of you! He opens his jaws and…’)
print()
#sleep for 2 seconds
time.sleep(2)
friendlyCave = random.randint(1, 2)
if chosenCave == str(friendlyCave):
print(‘Gives you his treasure!’)
else:
print ‘Gobbles you down in one bite!’
displayIntro()
caveNumber = choosecave()
checkCave(caveNumber)
print(“Thanks for planing”)
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more