A Python function that simulates the genetic transcription process by converting DNA sequences into corresponding RNA sequences.
The task is to create a Python function that performs the transcription of Deoxyribonucleic Acid (DNA) sequences to Ribonucleic Acid (RNA) sequences, as it takes place in cells. The transcription involves the conversion of Thymine ('T') in the DNA sequence to Uracil ('U') in the resultant RNA sequence. ### Parameters - `dna`: A string (1 <= len(dna) <= 10^5) containing the characters 'G', 'C', 'A', 'T' that represents a DNA sequence. ### Return Value - Returns a string representing the equivalent RNA sequence with each 'T' in the DNA replaced by a 'U'. ### Examples ```python # 'T''s in "TTTT" are replaced by 'U' transcribe_dna_to_rna("TTTT") # Returns: "UUUU" # 'T' in "GCAT" is replaced by 'U' transcribe_dna_to_rna("GCAT") # Returns: "GCAU" # "GACCCA" has no 'T', so the RNA sequence remains same as the DNA sequence. transcribe_dna_to_rna("GACCCA") # Returns: "GACCCA" ```