What is the output? python print(17 // 5, 17 % 5)

  1. 3.4 2
  2. 2 3
  3. 3 2
  4. 3 3
Answer

C) 3 2

// is floor division (17 div 5 = 3 rem 2) and % gives the remainder. SLO CS-11-C-02 · Application

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise