It's computer please solve this very urgent and view the picture completely
If you give uncorrect answer I will report your answer
Attachments:
udayagrawal49:
instead of 'and', it should be &&
Answers
Answered by
5
Required Answer:-
Question:
- Find the output of the following program. (Python)
Output:
- False
Solution:
Given códe snippet,
a=10
b=20
print(a>10 and b<40)
We can see that,
- a>10 is False as 10>10 is False.
- b<40 is True as 20<40 is True.
Therefore,
a>10 and b<40
= False and True
= False
Result will be False because all the conditions are not True. While using and operator, result is True if all the conditions provided is True else False.
Answered by
4
Answer:
a>10 and b<40
=False and True
=Falaw
Similar questions
Science,
2 months ago
Business Studies,
2 months ago
English,
2 months ago
English,
4 months ago
Environmental Sciences,
4 months ago
Math,
10 months ago