Created
January 7, 2020 19:04
-
-
Save benbagley/041e5c086450ea6325dbbe39ac51f8a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Battle Rules | |
num_knights = int(input("How many knights are available? ")) | |
day = input("Enter the day of the week? ") | |
enemy = input("What enemy are we up against? ") | |
if enemy == "killer bunny": | |
print("Use the holy hand grenade!") | |
else: | |
if num_knights < 3 or day == "Monday": | |
print("Retreat") | |
if num_of_knights >= 10 and day == "Wednesday": | |
print("Send out the Trojan rabbit") | |
else: | |
print("Truce?") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment