nori #1202(2007/07/21 02:51 GMT) [ Python ] Rating0/2=0.00
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
""" >>> rprint([1, 2, 3, 4, 5]) 5 4 3 2 1 """ def rprint(xs): ys = list(xs) ys.reverse() for y in ys: print y import doctest doctest.testmod()
Rating0/2=0.00-0+
2 replies [ reply ]
nori
#1202()
[
Python
]
Rating0/2=0.00
Rating0/2=0.00-0+
2 replies [ reply ]