#358. Or
When the green flag is clicked, this script runs. What will the cat say?
when green flag clicked set [x v] to (59) if <<(x) < (26)> or <(x) > (56)>> then say [Outside] else say [Inside] end
# When the green flag is clicked
x = 59
if (x < 26) or (x > 56):
print("Outside")
else:
print("Inside")
let x = 0;
// When the green flag is clicked
x = 59;
if ((x < 26) || (x > 56)) {
console.log("Outside");
} else {
console.log("Inside");
}
💡 Not sure? Build it in Scratch and try it out.