News for hackers. Stuff that matters.
Re:To apply, solve the following... are you kidding? by achompas on Friday September 30, 2011 @12:08PM (#3057491)
Trying functional:

    import sys

    with open(sys.argv[1], 'r') as f:
        word = f.readline()
        try:
            print filter(lambda x: word.count(x) == 1, word)[0]
        except IndexError:
            print ""

There are no comments on this comment yet.