if someone writes bad code then whine
Lua time!
math.random(0, 1) == 1 and true or false
what is "and true or false" for
because "true or false" will always evaluate to true. so the "or false" is garbage bulk by default
then... "and true" is also garbage bulk, because either way it will have exactly the same output as "math.random(0,1) == 1"
it will not change it one bit
why did you add it?
also why did you change the seed? it won't have any effect, either
edit: I was going to try to rewrite it better, but I seem to be having trouble with lua
so here it is in python
from random import randint
def Riddler_is_alive():
return randint(0, 1) == 1
if Riddler_is_alive():
print('Oh no!')
else:
print('Yay!')