name = input("Enter your name: ") name = name.lower() if name < "n": print("You are in the first half of the alphabet.") else: print("You are in the second half of the alphabet.")