Ok, I'm gonna explain this as best I can.
I am trying to make an if/else statement in python that basically informs the user if they put in the right age based on raw input, but I keep getting an error in terms of my if statement. Can I get some help?
from datetime import datetime now = datetime.now() print '%s/%s/%s %s:%s:%s' % (now.month, now.day, now.year, now.hour,now.minute, now.second) print "Welcome to the beginning of a Awesome Program created by yours truly." print " It's time for me to get to know a little bit about you" name = raw_input("What is your name?") age = raw_input("How old are you?") if age == 1 and <= 100 print "Ah, so your name is %s, and you're %s years old. " % (name, age) else: print " Yeah right!"