code: def random_dna(n):
      '''Generate a random DNA sequence.
  
      :param n: Output sequence length.
      :type n: int
      :returns: Random DNA sequence of length n.
      :rtype: coral.DNA
  
      '''
      return coral.DNA(''.join([random.choice('ATGC') for i in range(n)])f random_dna(n):
      '''Generate a random DNA sequence.
  
      :param n: Output sequence length.
      :type n: int
      :returns: Random DNA sequence of length n.
      :rtype: coral.DNA
  
      '''
      return coral.DNA(''.join([random.choice('ATGC') for i in range(n)]))
docs: Generate a random DNA sequence.
  
      :param n: Output sequence length.
      :type n: int
      :returns: Random DNA sequence of length n.
      :rtype: coral.DNA