Hmm, if my bank account balance is NaN, then: if not (withrdrawal_amount > balance): give_cash_to_customer(withdrawal_amount)
would be pretty nice :-) -CHB On Thu, Jul 9, 2020 at 7:47 AM Eric Fahlgren <ericfahlg...@gmail.com> wrote: > Yeah, but "not a number of pounds" sure beats seeing "£inf". > > On Thu, Jul 9, 2020 at 3:25 AM Jonathan Fine <jfine2...@gmail.com> wrote: > >> Off topic: I saw this NaN article this morning. >> >> Title: Hungry? Please enjoy this delicious NaN, courtesy of British Gas >> and Sainsbury's >> URL: https://www.theregister.com/2020/07/09/bork/ >> >> I particularly liked the Tideford Butterscotch Rice Pudding, at NaNp per >> 100g. >> >> -- >> Jonathan >> >> >> _______________________________________________ >> Python-ideas mailing list -- python-ideas@python.org >> To unsubscribe send an email to python-ideas-le...@python.org >> https://mail.python.org/mailman3/lists/python-ideas.python.org/ >> Message archived at >> https://mail.python.org/archives/list/python-ideas@python.org/message/56CVM7JOKW32BYWHCHQAJCZ7RHODQGFV/ >> Code of Conduct: http://python.org/psf/codeofconduct/ >> > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/2LBDLA3MCWE2WIPFN3LQQGFF2HNLFWR7/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/5N32G5SEJRCCS3JIDLSWFMSMG2NFNFSB/ Code of Conduct: http://python.org/psf/codeofconduct/