Post

Python Developer
Python Developer@PythonDvz·
🧠 Brain teaser for coders! Tag a friend who’ll get this wrong 😂 Let’s see who gets it right 👇
Python Developer tweet media
English
25
9
102
13.5K
Sergei Kotov
Sergei Kotov@kotov_dev·
@Python_Dv Nothing is printed. Step by step: › x > y → 7 > 3 → True › not True → False › Condition is False → ifblock skipped › Nothing prints For beginners: "not" flips the boolean! not True = False, not False = True.
English
0
0
10
1.6K
Jenny
Jenny@JennyTheDev·
@Python_Dv C) None x > y is True (7 > 3) not True = False So the if block never runs. Nothing prints. The code just stares at you silently like your bugs at 3am 💀
English
1
0
4
1.6K
The root of infinity
The root of infinity@parth_hirpara05·
@Python_Dv Check the condition: x>y --> 7>3 --> True Apply not: not True --> False So the if condition is False, and the print(x) line does not run. Ans--> C) None
English
0
0
2
824
Tanmay Newatia
Tanmay Newatia@thetanmaydoes·
@Python_Dv if C: None means nothing being printed then that. as nothing would be printed.
English
0
0
2
483
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@Python_Dv Output: (no output) If you must pick from the options given, the closest is C) None (meaning “nothing printed”), but technically the program prints nothing
English
0
0
2
964
Himal
Himal@himalbhattaraix·
@Python_Dv C) None 'x > y' is true, so 'not x > y' is false. The print statement doesn't run.
English
0
0
0
327
Paylaş