What will be the output of the following code? | Tuples Que. 34

34. What will be the output of the following code?

t1=("Can","you","can","a","can","as","a","canner","can","can","a","can")
print("can" in t1)
  1. Yes
  2. True
  3. False
  4. 5

Answer: B) True

Explanation:

In Keyword returns the result in true or false, If the particular element is there in the list then it returns you the true, else false.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.