Language change and code breaks
David Bolen
db3l at fitlinxx.com
Wed Jul 11 16:38:13 EDT 2001
More information about the Python-list mailing list
Wed Jul 11 16:38:13 EDT 2001
- Previous message (by thread): Language change and code breaks
- Next message (by thread): Language change and code breaks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Konrad Hinsen <hinsen at cnrs-orleans.fr> writes: > Sounds like a good idea. Just the existence of two division operators > would help newbies to recognize that there is a nontrivial problem. > And a//b definitely beats (a+0.)/b, which does the trick, but is not > at all evident. Well, I'd probably suggest using "float(a)/b" instead which at least makes it a little easier to see what's going on :-) -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l at fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/
- Previous message (by thread): Language change and code breaks
- Next message (by thread): Language change and code breaks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list