From 6e150b3df2d9262436804eadb7db0ae363366957 Mon Sep 17 00:00:00 2001 From: museHD <57558058+museHD@users.noreply.github.com> Date: Sun, 12 Jul 2020 00:51:11 +1000 Subject: [PATCH] Delete dna_test.py --- dna_test.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 dna_test.py diff --git a/dna_test.py b/dna_test.py deleted file mode 100644 index dfdef27..0000000 --- a/dna_test.py +++ /dev/null @@ -1,20 +0,0 @@ -cdna = input("INPUT DNA CODE: ") - -outlist = [] -#dna.strip() - -for jj in dna: - if (jj == 'g' or jj== 'G'): - outlist.append("C") - elif (jj == 'c' or jj=='C'): - outlist.append("G") - elif (jj == 'a' or jj=='A'): - outlist.append("T") - elif (jj == 't' or jj== 'T'): - outlist.append("A") - else: - print("You had an invalid char") - break - -for x in outlist: - print(x,end='') \ No newline at end of file