1for (int i = 0; i < crunchifyList.size(); i++) {
2 System.out.println(crunchifyList.get(i));
3 }
1def count_v1(dna, base):
2 dna = list(dna) # convert string to list of letters
3 i = 0 # counter
4 for c in dna:
5 if c == base:
6 i += 1
7 return i
8