<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generateRandomSequence(numSymbols, numColumns, sparsity):
 """ Generate a random sequence comprising numSymbols SDRs @param numSymbols (int) number of SDRs in random sequence @param numColumns (int) number of columns in the temporal memory @param sparsity (float) percentage of sparsity (real number between 0 and 1) @return sequence (array) random sequence generated """

  sequence = []
  sparseCols = int(numColumns * sparsity)
  for _ in range(numSymbols):
    sequence.append(generateRandomSymbol(numColumns, sparseCols))
  return sequence