jetamors: This is deeply embarrassing. (deeply embarrassing)
Jetamors ([personal profile] jetamors) wrote in [community profile] intro_to_cs 2010-01-27 07:24 pm (UTC)

Oh, you're probably right! I hadn't even really thought about that part. I'm at work so I can't field-test, but I guess you could rewrite that statement as
if trueiter == nuggets[0]:


Or... is there a way to select the smallest value in a tuple? I'm sure there is.

Post a comment in response:

This community only allows commenting by members. You may comment here if you're a member of intro_to_cs.
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting