Item 3: Integer Division and Remainder
Thu 06 October 2016
Posted by
Logan Chien
print
(
1
//
2
,
-
1
//
2
,
(
-
1
)
//
2
,
-
(
1
//
2
))
print
(
1
%
2
,
-
1
%
2
,
(
-
1
)
%
2
,
-
(
1
%
2
))
You Don't Know Python
TIMELINE
TOC
ARCHIVES