write output print (100 in ( 10,20,30 ,150 )
Answers
Answered by
0
Required Answer:-
Correct Question:
- Write the output of print(100 in (10,20,30,150))
Output:
- False.
Explanation:
- The print() statement is used to display message on the screen.
- Inside the print() statement, it's written that - 100 in (10,20,30,150). It checks whether 100 is present in the given tuple or not.
- It returns false as 100 is not present in the tuple. The result is now displayed on the screen.
Refer to the attachment.
•••♪
Attachments:
Similar questions