10
AssignmentMultiple Choice

Iteration

Question 10 • VA-Information Technology Fundamentals B

Which of the following is used as a placeholder for future code and has no function being executed?

Answer
A
hold
B
return
C
pass
D
null

Explanation

In Python, pass is a placeholder statement: it does nothing when executed, but it lets you write an otherwise empty block while you plan to add code later. Return exits a function, while null is not the Python keyword for an empty placeholder.

AI-written and checked against the verified answer.

Previous
Next