#347. 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 (22) if <(x) > (34)> then say [Big] else say [Small] end
# When the green flag is clicked
x = 22
if x > 34:
print("Big")
else:
print("Small")
let x = 0;
// When the green flag is clicked
x = 22;
if (x > 34) {
console.log("Big");
} else {
console.log("Small");
}
💡 Not sure? Build it in Scratch and try it out.