primeiro commit com exercicios de Exercism realizados até esta data

This commit is contained in:
2026-10-17 22:10:27 +01:00
commit 58fccbe27a
708 changed files with 35038 additions and 0 deletions
@@ -0,0 +1,18 @@
from unittest import defaultTestLoader
def to_rna(dna_strand):
transcribed_rna_strand: str = ""
for nucleotide in dna_strand:
match nucleotide:
case "G":
transcribed_rna_strand += "C"
case "C":
transcribed_rna_strand += "G"
case "T":
transcribed_rna_strand += "A"
case "A":
transcribed_rna_strand += "U"
case _:
transcribed_rna_strand += nucleotide
return transcribed_rna_strand