loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.8759331077357642","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"ZG5hX21hcHBpbmcgPSB7IkEiOiAiVCIsICJUIjoiQSIsICJHIjoiQyIsICJDIjoiRyJ9DQpiYXNlID0gIkEiDQpwcmludCgiUGFpciBmb3IgQSIpDQpwcmludChkbmFfbWFwcGluZ1siQSJdKQ0KZG5hX21hcHBpbmdbIlgiXSA9ICJZIg0KcHJpbnQoZG5hX21hcHBpbmcpDQoNCmZvciBrZXkgaW4gZG5hX21hcHBpbmc6DQogIHByaW50KCJUaGUgcGFpciBvZiAiK2tleSsiIGlzICIrZG5hX21hcHBpbmdba2V5XSk="},"asBuffer":null},"loaded":true}}
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])