On 7 February 2012 13:49, Alan Gauld <alan.ga...@btinternet.com> wrote:
> On 07/02/12 01:01, Nate Lastname wrote: > >> Exponents ... are **(or ^) >> > > Not quite the ^ operator is a bitwise XOR... > > >>> 2^2 > 0 > >>> 2^1 > 3 > > pow() is the other way to do exponents. > > Is is better to use pow() against **? > -- > Alan G > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > > ______________________________**_________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/**mailman/listinfo/tutor<http://mail.python.org/mailman/listinfo/tutor> > -- Sarma Tangirala, Class of 2012, Department of Information Science and Technology, College of Engineering Guindy - Anna University
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor