1#
2# Copyright(C) 2005
3# All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4#
5# Permission to use, copy, modify, and distribute this
6# software and its documentation for EDUCATIONAL purposes
7# and without fee is hereby granted provided that this
8# copyright notice appears in all copies.
9#
10# date : June 1, 2005.
11# authorĀ : Salih Yurttas.
12#
13# a_01.py
14#
15
16
17DNA = ['A', 'C', 'G', 'T', 'A', 'G']
18
19ag = 0
20ct = 0
21
22for i in DNA :
23 if i == 'A' or i == 'G' :
24 ag += 1
25 else :
26 ct += 1
27else :
28 print ag, ct