"""
Solution for Transcribing DNA to RNA
This is the second problem in Project Rosalind's Bioinformatics Stronghold
"""

def dna_to_rna(dna_seq):
	"""Transcribes a DNA sequence into an RNA sequence"""
	rna_seq = ''
	for dna_nuc in dna_seq.upper():
		if dna_nuc == 'T':
			rna_nuc = 'U'
		else:
			rna_nuc = dna_nuc
		rna_seq += rna_nuc
	print(rna_seq)
