Q. What would be the output produced by following code? Why?
a, b, c = 1, 1, 1
d = 3
e = a + b + c - d
f = a + b + c == d
print(e)
print(f)
Answer :-
0
True
>>>
True
>>>
Because a + b + c = 3 and d = 3. So, e = 0 and f = True.
a, b, c = 1, 1, 1
d = 3
e = a + b + c - d
f = a + b + c == d
print(e)
print(f)
Answer :-
Because a + b + c = 3 and d = 3. So, e = 0 and f = True.
Bro in book a,b,c=1,1,1
ReplyDeleteYes very true
DeleteOk I have modify the answer : )
DeleteBro in book d=0.3
ReplyDeletePlease send me pic.
DeleteBro in question d=0.3
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )