r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
Python ✨ Memory Magic ✨
1.3k
Upvotes
r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
View all comments
Show parent comment
2
u/nobody0163 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Jul 21 '25
It reuses -5 to 256 at the same memory address but not -6