title: Asserting equal length of string elements in a list
body: <p>A function I created takes a <strong>list of string</strong> (long list of long sequences) as an argument. Initially, I want to make sure <strong>all strings are of equal length</strong>. Of course, I could do it by iterating over all sequences in a loop and checking the length. But I am wondering - is there any way to do it faster/more efficiently? </p>
  
  <p>I've tried looking at the <code>unittest</code> module but I am not sure whether it would suit here. Alternatively, I was thinking about creating a list of len(string) of all strings using list comprehension and then checking whether or elements are the same. However, this seems like a lot of effort. </p>