loading
open in
main.py
1
2
3
4
5
6
7
8
9
dna_mapping = {"A": "T", "T":"A", "G":"C", "C":"G"}
base = "A"
print("Pair for A")
print(dna_mapping["A"])
dna_mapping["X"] = "Y"
print(dna_mapping)

for key in dna_mapping:
  print("The pair of "+key+" is "+dna_mapping[key])