Yurttas/PL/SL/python/F/02/00/01/b 30.py

From ZCubes Wiki
Jump to navigation Jump to search
 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#  b_30.py
14#
15
16
17DNA = ['A', 'C', 'G', 'T']
18
19for i in DNA :
20  if i == 'A' or i == 'G' :
21    print i
22else:
23  print "not valid"