Re: [Tutor] Fw: About the Round Function

2016-04-01 Thread Ben Finney
Nacir Bouali writes: > My students and I are interested in knowing the rationale behind > Python's choice of the Banker's rounding algorithm to be the default > rounding algorithm in the third release of Python. Can you provide a link to the Python documentation for this? The term “Banker's rou

Re: [Tutor] Fw: About the Round Function

2016-04-01 Thread Danny Yoo
>My students and I are interested in knowing the rationale behind Python's >choice of the Banker's rounding algorithm to be the default rounding >algorithm in the third release of Python. To be specific: your question is on the toplevel round() function. https://docs.python.org/3/

Re: [Tutor] Fw: About the Round Function

2016-04-01 Thread Mark Lawrence via Tutor
On 01/04/2016 20:46, Nacir Bouali wrote: -Forwarded by Nacir Bouali/sse/stud/aui/ma on 04/01/2016 08:46PM - To: tutor@python.org From: Nacir Bouali/sse/stud/aui/ma Date: 11/14/2015 08:21PM Subject: About the Round Function Dear Python Tutor(s), My students and

[Tutor] Fw: About the Round Function

2016-04-01 Thread Nacir Bouali
-Forwarded by Nacir Bouali/sse/stud/aui/ma on 04/01/2016 08:46PM - To: tutor@python.org From: Nacir Bouali/sse/stud/aui/ma Date: 11/14/2015 08:21PM Subject: About the Round Function Dear Python Tutor(s), My students and I are interested in knowing the rationale behind

Re: [Tutor] Week 10 warmup assignment

2016-04-01 Thread Danny Yoo
Hi Daniella, Your class is using an additional tool called 'pylint' which enforces certain style conventions. One of those conventions that Pylint is checking is that variables as arguments aren't supposed to be all in upper case. Upper case is a convention for constants, and a variable is not a

Re: [Tutor] Week 10 warmup assignment

2016-04-01 Thread Alan Gauld
On 01/04/16 04:26, Daniella Sapozhnikova wrote: > Umm I'm new to this whole tutoring list and I'm having a little bit of > trouble in school with my programming classes (hopefully it's not too late > to pass my class) but anyway, here's the code I've written: > > > #!/usr/bin/env python > # -*- c

[Tutor] Week 10 warmup assignment

2016-04-01 Thread Daniella Sapozhnikova
Umm I'm new to this whole tutoring list and I'm having a little bit of trouble in school with my programming classes (hopefully it's not too late to pass my class) but anyway, here's the code I've written: #!/usr/bin/env python # -*- coding: utf-8 -*- """Task 07: declaring a dictionary, creating