I'm just curious which way of writing this code looks better to you. It's a simple function to determine if a string ends in ".txt", and I rewrote the function to reduce the size of the conditions in my if statement. Now I'm curious what your opinion is, what's worse; making a very long if statement, or the conversions I've done to shorten it...