write output. a=100 print ( a in range (50,150)
Answers
Answered by
0
Required Answer:-
Correct C∅de:
a = 100
print(a in range(50,100))
To Find:
- Output. (Language: Python)
Output:
- True.
Explanation:
- The print() statement is used to display message on the screen.
- Inside the print() statement, it's written that - a in range(50, 150). It checks whether value of a is present between the given range or not i.e., between 50 and 150-1 or not.
- 100 is present in the range 50 to 149. So, it returns True which is displayed on the screen.
Refer to the attachment.
•••♪
Attachments:
Similar questions
Physics,
2 months ago
Science,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
Computer Science,
10 months ago
CBSE BOARD X,
10 months ago