- 1

Explanation

I looked at it like this X= 4 Y=2 If not 2=2 or 4=4 And 1==8 Print (“yes”) elif 4>2: print (“no”) It prints no b/c 1==8 is not true, 2=2 etc is - the statement is a trick ;) - else/if 4>2 then “no” which is true! :D

26th Apr 2019, 12:01 AM
MahouShojoCode
MahouShojoCode - avatar
1 Antwort
0
1==8 is not true and ( and ) is used there so both needs to be true thus it will not print yes And 4>2 is true so it prints no
26th Apr 2019, 12:05 AM
Edwin
Edwin - avatar