Computer Science, asked by manyajain252, 3 months ago

write output print (100 in ( 10,20,30 ,150 )​

Answers

Answered by allysia
0

Correction in question:

print (100 in (10,20,30,150))​

Answer:

False

Explanation:

  • a in b: in operator check if element a is in array b or not and returns True if yes and False if no.
  • Here, since 100 isn't in tuple (10,20,30,150), the output is False.
Similar questions