sanyaade-g2g-repos / skulpt

Automatically exported from code.google.com/p/skulpt
Other
0 stars 0 forks source link

% operations is Non-pythonic #110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Code you're trying to run:

print -2 % 5

What does "real" Python output?

3

What does Skulpt output?

-2

Please provide any additional information.

http://en.wikipedia.org/wiki/Modulo_operation

Original issue reported on code.google.com by arain...@gmail.com on 3 Nov 2012 at 6:16