Notifications
Clear all

def idler ( ):

1 Posts
1 Users
0 Likes
123 Views
(@benninkcarrol)
Posts: 687
Noble Member
Topic starter
 

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

Show Answer Hide Answer

Suggested Answer: A,B

Explanation:

Reference: https://www.pythoncentral.io/python-null-equivalent-none/
 
Posted : 20/11/2022 1:30 am
Topic Tags

Latest Python Institute PCAP-31-03 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: