+ 3
Can you help me understand the result of the following code?
a = 5 == 2+3 b = 2 == 2 c = a == b print(c) # result: True
2 Answers
+ 6
5 == 2+3 returns true, so a is true.
2 == 2 is also true, so b is also true.
a and b are both true, and true == true returns true.
https://code.sololearn.com/c5JpGEM6bP97/?ref=app
0
Aki Ko thank you! I got it!