Skip to content

Instantly share code, notes, and snippets.

Created March 21, 2012 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/2154030 to your computer and use it in GitHub Desktop.
Save anonymous/2154030 to your computer and use it in GitHub Desktop.
ZODIAC.PY
def getSign():
name = raw_input ("Enter Your Name: ")
month = raw_input("Enter Birth Month: ")
day = int(raw_input("Enter Birth Day of Month: "))
if month == "March":
if day > 20:
print "Aries"
else:
print "Pisces"
elif month == "April":
if day > 20:
print "Taurus"
File "zodiac.py", line 12
elif month == "April":
^
SyntaxError: invalid syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment