Re: Comparators

2015-11-22 Thread Chris Angelico
On Mon, Nov 23, 2015 at 9:01 AM, Quivis wrote: > On Sun, 22 Nov 2015 10:00:51 +1100, Chris Angelico wrote: > >> I recommend creating a text file of notes. Every time you learn >> something new, add it to your notes file - and commit the change to git. >> Then, when you come back to the file, you'l

Re: Comparators

2015-11-21 Thread Chris Angelico
On Sun, Nov 22, 2015 at 9:49 AM, Cai Gengyang wrote: > Hmm .. I am a slow learner and have poor memory. Sometimes when I see a new > programming operator, I have to type it out so that I can remember it and let > it sink into my brain > I recommend creating a text file of notes. Every time you

Re: Comparators

2015-11-21 Thread Cai Gengyang
ote: > > Comparators, interesting ... > > > >>>> booltwo = (10 + 18) == 3**17 > >>>> booltwo > > False > > What's interesting about that? -- https://mail.python.org/mailman/listinfo/python-list

Re: Comparators

2015-11-21 Thread Jon Ribbens
On 2015-11-21, Cai Gengyang wrote: > Comparators, interesting ... > >>>> booltwo = (10 + 18) == 3**17 >>>> booltwo > False What's interesting about that? -- https://mail.python.org/mailman/listinfo/python-list

Comparators

2015-11-21 Thread Cai Gengyang
Comparators, interesting ... >>> booltwo = (10 + 18) == 3**17 >>> booltwo False >>> boolone = (50 - 35) > 35 >>> boolone False >>> booltwo = (65 - 35) > 15 >>> booltwo True >>> boolalpha = 3 < 6 >>> boolalpha Tru