.randint(0, 10**4)
if is_valid_date():
do_something()
Cheers!!
Albert-Jan
~~
In the face of ambiguity, refuse the temptation to guess.
~~~~~~
--- On Fri, 11/20/09, Ken G. wrote:
From: Ken G.
Subject: [Tutor] Breaking out of lo
Alan Gauld wrote:
"Ken G." wrote
I am trying to break out of a loop posted below. When asked for
monthdate, it should break out if I entered the number zero and it
does not. GRRR. Been working on this for almost an hour.
monthdate = 999
while monthdate <> 0:
You are comparing
"Ken G." wrote
I am trying to break out of a loop posted below. When asked for
monthdate, it should break out if I entered the number zero and it does
not. GRRR. Been working on this for almost an hour.
monthdate = 999
while monthdate <> 0:
You are comparing monthdate with a num
I am trying to break out of a loop posted below. When asked for
monthdate, it should break out if I entered the number zero and it does
not. GRRR. Been working on this for almost an hour.
monthdate = 999
while monthdate <> 0:
monthdate = raw_input('Enter the month and date in t