Solve Rna Transcription in Python