Exam4Training

If you need a function that does nothing, what would you use instead of XXX? (Select two answers)

If you need a function that does nothing, what would you use instead of XXX? (Select two answers)

A . pass
B . return
C . exit
D . None

Answer: AD

Explanation:

Reference: https://www.pythoncentral.io/python-null-equivalent-none/

Exit mobile version