hi started to learn python this week and my lecturer threw us in the deep end and asked us to write a mail server.. oh well anyway in the program i read in some input from the user input = str(raw_input ......... how do i compare it to an element in a list?? ive tried for x in list if input == x:print 'found item' but it dont work any help would be great thanx