Skip to main content
Review & prep中文

Python Exam Sprint

Question 01Expressions & flow

Division and modulo

What does this code print or which exception does it raise?

Python3.8+
print(-7 // 3, -7 % 3)

Choose an answer

Select with 1 / 2 / 3, then press Enter to confirm or continue