Skip to content

Commit

Permalink
updated stuff
Browse files Browse the repository at this point in the history
still, the problem here is that when i run that stuff in the terminal and have to choose my draconid, it only prints out the first inside of the elsif loop
  • Loading branch information
Fuutralala authored Jun 27, 2019
1 parent 5e4aabe commit 1ee5212
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions basilisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ def Basilisk():
Aard
""")
Basilisk()
4 changes: 2 additions & 2 deletions bestiary.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def Bestiary():
list()


if __name__ == '__main__':
Bestiary()

val = input("> ")
if val == "Draconids" or "draconids":
Draconids()


else:
print("not ready yet")
Bestiary()
9 changes: 4 additions & 5 deletions draconids.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ def Draconids():
- Forktail
""")
val = input("> ")
if val == "Cockatrice" or "cockatrice":
Cockatrice()
elif val == "Basilisk" or "basilisk":
if val == "Basilisk" or "basilisk":
Basilisk()
elif val == "Cockatrice" or "cockatrice":
Cockatrice()
elif val == "Forktail" or "forktail":
Forktail()



else:
print("not ready yet")

0 comments on commit 1ee5212

Please sign in to comment.