Op 7 okt. 2012 04:29 schreef aklei...@sonic.net het volgende:
I'm also not sure but I seem to remember that it is
(SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,
SATURDAY, SUNDAY)
which I think is extremely clever because it gets around the problem
created by the fact that some people
On 07/10/2012 02:50, Steven D'Aprano wrote:
On 07/10/12 12:08, Richard D. Moores wrote:
On Sat, Oct 6, 2012 at 4:42 PM, Mark
Lawrencebreamore...@yahoo.co.uk wrote:
Use calendar.day_name.
How?
By reading the Fine Manual.
http://docs.python.org/library/calendar.html#calendar.day_name
On Sun, 7 Oct 2012, Steven D'Aprano wrote:
It is a little-known fact that Unix sys admins, and C programmers, can
only type a fixed number of keys before their brains explode. Sad but
true. Since nobody knows how many keys that will be, but only that it is
fixed at birth, they have a horror of
On 07/10/12 23:41, Mark Lawrence wrote:
On 07/10/2012 02:50, Steven D'Aprano wrote:
On 07/10/12 12:08, Richard D. Moores wrote:
On Sat, Oct 6, 2012 at 4:42 PM, Mark
Lawrencebreamore...@yahoo.co.uk wrote:
Use calendar.day_name.
How?
By reading the Fine Manual.
On 07/10/12 13:54, Wayne Werner wrote:
fixed at birth, they have a horror of typing four characters when two
would do.
(I think this might apply to COBOL programmers, too.)
-Wayne
Oh no, COBOL programmers are the opposite. The more characters they type
the longer they live It's a
sorry i sent the email directly by mistake. Just like to say thanks once
again for all the help
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
sorry i sent the email directly by mistake. Just like to say thanks once
again for all the help
this email was a mistake, meant for anything mailing section.. please
ignore it
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
When I type this in the python idle shell ( version 3...) :
'0' = '10' = '9'
The interpreter evaluates this as true, WHY? 10 is greater than 0 but not 9
Notice I am not using the actual numbers, they are strings...I thought that
numbers being string were ordered by their numerical
On Sun, Oct 7, 2012 at 1:46 PM, Arnej Duranovic arne...@gmail.com wrote:
When I type this in the python idle shell ( version 3...) :
'0' = '10' = '9'
The interpreter evaluates this as true, WHY? 10 is greater than 0 but not 9
Notice I am not using the actual numbers, they are
On Oct 7, 2012 12:47 PM, Arnej Duranovic arne...@gmail.com wrote:
When I type this in the python idle shell ( version 3...) :
'0' = '10' = '9'
The interpreter evaluates this as true, WHY? 10 is greater than 0 but not
9
Since they are strings it looks at these character by
On 07/10/2012 18:46, Arnej Duranovic wrote:
When I type this in the python idle shell ( version 3...) :
'0' = '10' = '9'
The interpreter evaluates this as true, WHY? 10 is greater than 0 but not 9
Notice I am not using the actual numbers, they are strings...I thought that
numbers
Sander Sweers schreef:
Op 7 okt. 2012 04:29 schreef aklei...@sonic.net
mailto:aklei...@sonic.net het volgende:
I'm also not sure but I seem to remember that it is
(SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,
SATURDAY, SUNDAY)
which I think is extremely clever because it gets
Roel Schroeven schreef op zo 07-10-2012 om 21:19 [+0200]:
Sander Sweers schreef:
Op 7 okt. 2012 04:29 schreef aklei...@sonic.net
mailto:aklei...@sonic.net het volgende:
I'm also not sure but I seem to remember that it is
(SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,
On 08/10/12 04:46, Arnej Duranovic wrote:
When I type this in the python idle shell ( version 3...) :
'0'= '10'= '9'
The interpreter evaluates this as true, WHY? 10 is greater than 0 but not 9
Notice I am not using the actual numbers, they are strings...I thought that
numbers being
Hi, I'm following coursera's learn to program: the fundamentals, which
teaches programming basics in python. Our first assignement involves the
modulo operator with a negative divident, and while I've managed to get to
understand it enough for the purposes of the assignement with help from
othe
On 08/10/12 05:20, Mark Lawrence wrote:
[...]
They'll be compared lexicographically, something I'm not inclined
to attempt to explain so see here
http://en.wikipedia.org/wiki/Lexicographical_order
Please also be careful with your terminology. Note that I've used
compared. Ordered is very
On 10/07/2012 06:49 PM, Esteban Izaguirre wrote:
Hi, I'm following coursera's learn to program: the fundamentals, which
teaches programming basics in python. Our first assignement involves the
modulo operator with a negative divident, and while I've managed to get to
understand it enough for
Hello Esteban and welcome!
On 08/10/12 09:49, Esteban Izaguirre wrote:
So, i undertand
how modulo works when only positive numbers are used, but how does modulo
determine, that, say -15 % 14 is equal to 13?
Think of modulo as almost exactly the same as remainder after division.
When you say
On 8 October 2012 00:07, Dave Angel d...@davea.name wrote:
On 10/07/2012 06:49 PM, Esteban Izaguirre wrote:
Hi, I'm following coursera's learn to program: the fundamentals, which
teaches programming basics in python. Our first assignement involves the
modulo operator with a negative divident,
On 10/07/2012 07:16 PM, Oscar Benjamin wrote:
On 8 October 2012 00:07, Dave Angel d...@davea.name wrote:
On 10/07/2012 06:49 PM, Esteban Izaguirre wrote:
Hi, I'm following coursera's learn to program: the fundamentals, which
teaches programming basics in python. Our first assignement involves
On 10/07/2012 08:00 PM, Jan Karel Schreuder wrote:
On Oct 7, 2012, at 7:24 PM, Dave Angel d...@davea.name wrote:
It still makes no sense to me. There are at least two equally silly
ways to define the results of a negative modulus, and you've properly
described one of them, presumably
Alright guys, I appreciate all your help SO much. I know understand, as the
gentleman above said A string is a string is a string doesn't matter
what is in it and they are ordered the same way...BUT this is what was
going through my head. Since letters are ordered in such a way that A is
less
On Sun, Oct 7, 2012 at 1:46 PM, Arnej Duranovic arne...@gmail.com wrote:
When I type this in the python idle shell ( version 3...) :
'0' = '10' = '9'
The interpreter evaluates this as true, WHY? 10 is greater than 0 but not 9
Notice I am not using the actual numbers, they are
On Sat, Oct 6, 2012 at 11:56 PM, Steven D'Aprano st...@pearwood.info wrote:
The C programming language on Unix systems.
ls instead of list
LS is an abbreviation for list segments, not list. It goes back
to Multics in the late 60s and 70s. In Multics, every segment is a
file, and every file is
On Oct 7, 2012, at 6:49 PM, Esteban Izaguirre esteban...@gmail.com wrote:
Hi, I'm following coursera's learn to program: the fundamentals, which
teaches programming basics in python. Our first assignement involves the
modulo operator with a negative divident, and while I've managed to get to
25 matches
Mail list logo