A=RND(1) IF A==0 THEN PRINT "0" IF A==1 THEN PRINT "1" ↑RND gets a random number from 0 to basically infinity.