"""Tells user if his or her input is positive or negative. Demonstrates use of if-elif-else construct.""" # ask user for an integer n = int(raw_input("I'd like an integer please: ")) # analyze user's input (somewhat inaccurately) if n > 0: print("You picked a positive number!") elif n == 0: print("You picked zero!") else: print("You picked a negative number!")