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