Yurttas/PL/SL/python/F/02/01/a 00.py

 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_00.py
14#
15
16
17DNA = ['A', 'C', 'G', 'T']
18
19ag = 0
20
21for i in DNA :
22  if i == 'A' or i == 'G' :
23    ag += 1
24else :
25  print ag