input: Write a python function to generate a random sequence of 0s and 1s of length n.
  assert len(generate_random_sequence(10)) == 10
  assert set(generate_random_sequence(10)).issubset({'0', '1'})
  assert len(generate_random_sequence(5)) == 5
output: import random
  
  def generate_random_sequence(n):
      return ''.join(random.choice('01') for _ in range(n))