$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #159

What is the output?

print(3 / 2, 3 // 2)
  1. 1.5 1
  2. 1 1
  3. 1.5 1.5
  4. 1.5 2
In Python 3, / is true division and // floors.
Play Problem Solving ▸