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)

def idler ( ):

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

Answer: A,D

Explanation:

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

Latest PCAP-31-03 Practice Questions with 109 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments