+ 4

What is the result of this code?

What is the result of this code? x = 4 y = 2 if not 1 + 1 == y or x == 4 and 7 == 8: print("Yes") elif x > y: print("No")

10th Sep 2018, 6:16 AM
anusak01
7 Respostas
+ 13
No
10th Sep 2018, 7:08 AM
Lương Văn Tuấn
Lương Văn Tuấn - avatar
+ 4
The result is: No. As the first condition is false and the second x > y is true.
10th Sep 2018, 6:38 AM
blackfish
blackfish - avatar
+ 3
no
10th Sep 2018, 7:16 AM
Nafis Arinda Rizky Putra Handoko
Nafis Arinda Rizky Putra Handoko - avatar
0
No
15th Sep 2018, 5:35 PM
Aman kumar
Aman kumar - avatar
0
it is no
31st Dec 2019, 12:15 AM
Arjun Singhal
Arjun Singhal - avatar
0
Why the first condition is False?
20th Sep 2020, 3:59 PM
Shahram Karami
Shahram Karami - avatar
0
Hi
8th Jan 2022, 2:55 PM
MV GAMING MV GAMING