Skip to content
CodeKruPro

Floor division and remainder with negatives

Predict the outputEasy-MediumPython only
main.py
print(-7 // 2)
print(-7 % 3)
print(7 % -3)
print(int(-3.7))
print(-7 / 2)

Graded by exact match. Spaces at the ends of lines and blank lines at the end do not count.

to answer and keep your progress. Reading is free for everyone.