Post

ExamAdda
ExamAdda@examaddaorg·
@PythonPr Python's truthiness strikes again—5 % 2 == 1 (truthy) → 'Odd'. Elegant reminder that modulo isn't just for parity!"
English
0
0
4
137
yourclouddude
yourclouddude@yourclouddude·
@PythonPr Output will be: Odd Because 5 % 2 gives 1, and in Python 1 is treated as truthy, so the if block runs.
English
0
0
4
241
Olegsey
Olegsey@implexxa·
@PythonPr It will print "Odd", because n % 2 gives always True
English
0
0
2
117
Gopuff
Gopuff@gopuff·
Our delivery comes with a genius. Go learns what you like, builds your cart in seconds, and gets it all to your door in as fast as 15 minutes.
English
36
27
1.1K
8.2M
CH4·H2O
CH4·H2O@NeHonBa·
@PythonPr 【python GUI 可视化设计工具 ——Fastest Designer入门系列使用教程-哔哩哔哩】 b23.tv/kRRt0Nn
中文
0
0
0
5
Teilen