names = ['Andrew', 'Doog', 'Garret', 'Shvingy', 'Phillip', 'Atomic'] i = 1 welcome = 0 name = raw_input("What's your name?") for i in range(6): if name == names[i]: print 'Welcome, ' + name welcome = 1 i = i + 1 if welcome == 0: print 'GTFO, nub!'