write output print (100 in ( 10,20,30,100 ,150 )
Answers
Answered by
0
Answer:
10, 40,50
Explanation:
because it ends with zero
Answered by
0
Required Answer:-
Correct Question:
- Write the output of print(100 in (10,20,30,100,150))
Output:
- True.
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,100,150). It checks whether 100 is present in the given tuple or not.
- It's true as 100 is present in last second index of the tuple. So, it returns True which is displayed on the screen.
Refer to the attachment.
•••♪
Attachments:
Similar questions