please try to answer my question
Attachments:
Answers
Answered by
1
Answer:
B. 10+20=30 a+b / ' a+b' =30
Explanation:
Mark me as brilliantist
Answered by
3
Given C∅de:
a=10
b=20
print(a>10 and b<40)
Output:
False
Explanation:
a > 10 and b < 40
= 10 > 10 and 20 < 40
As 10 > 10 is False and 20 < 40, so we get,
= False and True
= False (As one condition is False)
Hence, the output is - False
Given C∅de:
a=10
b=20
print(a+b)
print('a+b')
Output:
30
a+b
Explanation:
Given,
a = 10
b = 20
a+b = 10 + 20 = 30
So, output for print(a+b) will be - 30
Now, output for print('a + b') will be - a+b as it is treated as String.
For Verification, check out the attachment.
Attachments:
Similar questions