[Tutor] Question on how to do exponents

Nate Lastname defensoft at gmail.com
Tue Feb 7 02:01:16 CET 2012


Exponents and remainder (modulus) are **(or ^) and % respectively.  I.E.;
d = a ** b (exponent)
c = a % b (modulus)

There you are!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120206/7cb8806a/attachment.html>


More information about the Tutor mailing list