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