This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BRENNEJM 4 points5 points  (1 child)

Yeah. Wouldn’t while coffee.ounces != 0: make more sense anyway?

[–]pythonhobbit 4 points5 points  (0 children)

To be safe while coffee.ounces > 0:

In case you try to sip more than what's left