Re: [mu TECH] 'counter' a scripting util... / fitting names

From: Gerhard Thimm (gthimm@zbw.ch)
Date: Thu Sep 21 2000 - 09:42:10 CEST


Alfie Costa schrieb:
> question for Python users: what's the syntax of Python's 'range' statement?

Pythons range is not as sophisticated as your script, but the language
seems very cool. As I know there are:
range(5) --> 0 1 2 3 4 5
range(5,10) --> 5 6 7 8 9 10
range(5,10,2) --> 5 7 9

that's it: See the tutorial at

http://www.python.org/doc/current/tut/node6.html#SECTION006300000000000000000

for more info

Gerhard

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET