Skip to content

Instantly share code, notes, and snippets.

@artlung
Forked from anonymous/zodiac.py
Created March 21, 2012 23:49
Show Gist options
  • Save artlung/2154249 to your computer and use it in GitHub Desktop.
Save artlung/2154249 to your computer and use it in GitHub Desktop.
ZODIAC.PY FRAGMENT
def main():
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"
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment