Function in Python MCQs Exercise II


Ques 1 Function


What is output of the following Python Code?

class Function:
    pass
res=Function()
print(bool(res))

  a) True
  b) False
  c) 0
  d) 1


a is the correct option