JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 24

Which statement is true regarding Python?

Answer options

Correct answer: C

Explanation

The correct answer is C because Python 3.x introduced several changes that are not compatible with Python 2.x, such as print function syntax and integer division behavior. Option A is incorrect because the correct keyword is 'import', not 'module'. Option B is wrong as a set is an unordered collection. Option D is false since tuples are immutable, meaning their contents cannot be modified.