[ prog / sol / mona ]

prog


Does true randomness exist?

12 2022-10-31 12:09

>>11
#!/bin/bash
FLIP=$(($(($RANDOM%10))%2))
if [ $FLIP -eq 1 ];then
echo "heads"
else
echo "tails"
fi

25


VIP:

do not edit these