[Tutor] meaning of % in: if n % x == 0:
bob gailer
bgailer at gmail.com
Thu Sep 1 04:29:49 CEST 2011
% is not remainder - it is modulo.
Difference shows up when left agument is negative.
--
Bob Gailer
919-636-4239
Chapel Hill NC
More information about the Tutor
mailing list