why no "do : until"?
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Sun Dec 31 05:31:33 EST 2000
Sat, 30 Dec 2000 22:21:12 -0500, Andrew Henshaw <andrew_dot_henshaw_at_earthling_dot_net> pisze:
> a)
> do:
> R=Themistor.ReadResistance()
> T=R_to_Temperature(R)
> until (T>=25)
> If a), then this looks very unPythonic, because the indentation
> blocking is backwards. In other words "until (T>=25)" is a control
> statement for an indented block that is above it (and it doesn't
> have a ":").
do:
R=Themistor.ReadResistance()
T=R_to_Temperature(R)
:until (T>=25)
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list